Jump to content

Admin Console Text Size Reverts to Default


Florida Joel
Go to solution Solved by larryllix,

Recommended Posts

  • Solution
Posted
On 12/16/2023 at 11:42 AM, Florida Joel said:

Does anyone know why the Admin Console Text Size reverts to default after setting the new text size to a larger number? 

You can increase the size of memory java is permitted and it will last longer but that will be temporary also.

  • Like 1
Posted

Thanks Larryllx

I checked the memory that java was using and it is currently at 32,764 mb.

At least now I know that I am going to have to reset the text size or get a magnifying glass.

  • Like 2
Posted
On 12/17/2023 at 12:36 PM, Florida Joel said:

I checked the memory that java was using and it is currently at 32,764 mb.

Where did you find this?

What @larryllix was suggesting is the settings within the Java console.

-Xms512m, -Xms1024m, or higher

Only use one for "max" setting. I find 2048 works on my system.

For reference:

Quote

-xms = selects the initial memory allocated

-xmx = selects the maximum that can be allocated.

I have usually had both a max and min set just for ease. 

To set this (if on Windows) open "Configure Java" (opens the Java Control Panel). Click on the "Java" tab then "View" and you should get a "Java Runtime Environment Settings" window. In the "Runtime Parameters" you can add the values.

"-Xms1024m -Xmx2048m" - That's my current settings. I'm running on a desktop with 16GB Ram and don't keep Admin Console open longer than I need it to update/change things, and even then that's rare.

With my settings I usually get about 3 or 4 weeks out of themes settings staying. It's very random when it "resets". I'm not sure if it's a Java temp setting getting flushed or the ud*.state files being flushed in a temp directory that's resetting it. I just know it's bothersome, but only takes 20 seconds to reset and re-launch for it to take hold again.

 

Posted

Geddy

Thanks for your reply.  That clears up what was going on for me.  The original 32,764 came from the temporary java cache files.

I updated the java tab to reflect the values you provided. 

I am running a Windows 11 PC with 32 GB of ram so there should be no problem.

I too only have the admin console open when I am working on something.

Thanks for clarifying that information.

  • Like 1
Posted
11 hours ago, Geddy said:

Where did you find this?

What @larryllix was suggesting is the settings within the Java console.

-Xms512m, -Xms1024m, or higher

Only use one for "max" setting. I find 2048 works on my system.

For reference:

I have usually had both a max and min set just for ease. 

To set this (if on Windows) open "Configure Java" (opens the Java Control Panel). Click on the "Java" tab then "View" and you should get a "Java Runtime Environment Settings" window. In the "Runtime Parameters" you can add the values.

"-Xms1024m -Xmx2048m" - That's my current settings. I'm running on a desktop with 16GB Ram and don't keep Admin Console open longer than I need it to update/change things, and even then that's rare.

With my settings I usually get about 3 or 4 weeks out of themes settings staying. It's very random when it "resets". I'm not sure if it's a Java temp setting getting flushed or the ud*.state files being flushed in a temp directory that's resetting it. I just know it's bothersome, but only takes 20 seconds to reset and re-launch for it to take hold again.

 

I am not sure I understand exactly what these settings are doing. I don't understand java requiring 2GB of memory to remember the font size f an app written in java. Just really weird and I would hope that doesn't rob your system RAM of 2GB on a constant basis for an app some may run once every 3-6 months.

However the factor you were stating is a limitation of memory usage (Max), which really raises a bigger question in my mind. Why would a max memory usage keep the font size in java any better? Better yet, why doesn't the admin console keep a setup file or some scene/font parameters inside ISY. It downloads everything else (icons and text boxes, pushbuttons)  for two minutes every load.

hmmm...seems like the admin console system needs a big overhaul, about 6 years ago now. :)

Posted

@larryllix I agree it would be nice if they could find a way to store and reuse the font settings in the admin console.  As for using 2 gb of memory it won't cause me any issue as I have 32 gb of ram in my system.

Thanks for your help and wisdom.

  • Like 1
Posted (edited)
2 hours ago, Florida Joel said:

@larryllix I agree it would be nice if they could find a way to store and reuse the font settings in the admin console.  As for using 2 gb of memory it won't cause me any issue as I have 32 gb of ram in my system.

Thanks for your help and wisdom.

That's a lot of memory to store the 11 character string "fontsize =14" :) :).
I ran Admin Console on my 1 GB laptop for many years without problems. Now I can't use many of the device pages due to not being able to click many buttons/options being off the pages since V5.01. Size does matter.

 

663773661_LampLinccropping.jpg.ff2ff623788ebddc9ffe8219f66cccac.jpg

Edited by larryllix
Posted

@larryllix I don't know about java or the admin console, but in other programming languages they would write that information to a system environmental variable the when the console loads would read that and set the font size accordingly.  Also changing the font size would update the system environmental variable with the new value.

I'll leave the java programming to someone who is expert at it.

  • Like 2
Posted
9 hours ago, larryllix said:

I am not sure I understand exactly what these settings are doing.

It's doing exactly what you suggested in an earlier reply. 

On 12/17/2023 at 11:43 AM, larryllix said:

You can increase the size of memory java is permitted and it will last longer but that will be temporary also.

Or did you not mean it that way? That's the only way I've seen to "increase the size of memory Java is permitted". That's what's been tossed about for years if/when admin console is slow and also for things like the font size being "remembered" from multiple logins. 

It's not "robbing" the system of much memory (these days). Usually I don't even set the min, but I did based on somebody's post at one point that it would be good to set min/max. I forget who it was. Sad thing is sometimes the memory setting has to be reset after some Java updates. But most of the time I'm not using Admin Console enough or long enough to notice any performance issues with it or with the rest of my system. 

 

1 hour ago, larryllix said:

Now I can't use many of the device pages due to not being able to click many buttons/options being off the pages since V5.01.

Still blows my mind that you've got buttons off the edge like that. Not sure what device that is, but I think last time I checked most of my devices all buttons were available. Perhaps it's your overall screen resolution not allowing the admin console to fully create the buttons. But that would just make your text smaller!

Admin console font size and color choices have long been items people complain about. And I admit to be one of those confused as to why nothing has changed to make the whole thing easier to read. I guess it's just not something that is high priority to update/recreate.

 

  • Like 1
Posted
7 hours ago, Geddy said:

It's doing exactly what you suggested in an earlier reply. 

Or did you not mean it that way? That's the only way I've seen to "increase the size of memory Java is permitted". That's what's been tossed about for years if/when admin console is slow and also for things like the font size being "remembered" from multiple logins. 

It's not "robbing" the system of much memory (these days). Usually I don't even set the min, but I did based on somebody's post at one point that it would be good to set min/max. I forget who it was. Sad thing is sometimes the memory setting has to be reset after some Java updates. But most of the time I'm not using Admin Console enough or long enough to notice any performance issues with it or with the rest of my system. 

 

Still blows my mind that you've got buttons off the edge like that. Not sure what device that is, but I think last time I checked most of my devices all buttons were available. Perhaps it's your overall screen resolution not allowing the admin console to fully create the buttons. But that would just make your text smaller!

Admin console font size and color choices have long been items people complain about. And I admit to be one of those confused as to why nothing has changed to make the whole thing easier to read. I guess it's just not something that is high priority to update/recreate.

 

The font size and button realestate  thing seems to be a never ending problem. It seems the A/C was setup based on the wrong screen parameters right from the start. I am using a 1024 x 768 laptop and the size 15 font-size. 

I see this dilemna all the time here, If I go to a 4K monitor size, what? 2048 x 1932? then my font size becomes so small I can;t read it, so I increase my Windows magnification factor, or my A/C font-size and now we are back to the same problem again with some things not fitting on the monitor screen.  Who ya' gonna' call? :)  I just don't use the A/C to control things much anymore. I could write a program in ISY and operate something faster than find the device page button. (exagg) :)

I am not a java basher but I see so much of it, and so many other newer language bases being raved about, but I doubt any have the long-term experience java does or the features java has built in. It is still number one in the vehicle and machine industry, AFAICT. Usually most of the hoopla is based on rumoured things that happened twenty years ago when the compiler was young. I have only dabbled very little with java, enough to make my CAO Tags write to ISY variables. Extremely advanced language but very foreign to me.

Posted
23 hours ago, larryllix said:

Now I can't use many of the device pages due to not being able to click many buttons/options being off the pages since V5.01. Size does matter.

I had this issue on my Polisy and again on eisy. I opened a support ticket and requested a scroll bar be added to admin console. I was told that it would be done but it would take awhile.

That was about 10 months ago.

Posted
9 hours ago, DennisC said:

I had this issue on my Polisy and again on eisy. I opened a support ticket and requested a scroll bar be added to admin console. I was told that it would be done but it would take awhile.

That was about 10 months ago.

I think we were told about 5 years ago that the Admin Console would not get any more improvements, due to it being converted away from a java base. However, many features have been added since, to incorporate the billing structure and PGx items, so maybe not improvements, per se.

If, and when, the AC ever gets using HTML5, CSS3+, and javascript, so many hackers will be creating their own versions and extensions to the A/C due to it's huge base of language educated people in the world.

Guest
This topic is now closed to further replies.

×
×
  • Create New...