Memory usage console
-
Hi,
I was playing around with the max memory settings for the v1.2.11 NetXMS Console when I noticed something peculiar:
My console is usually using around 240MB out of ~600MB allocated heap space (as seen in the status bar of the console). If I reduce the -Xmx parameter from 1024m to 512m This is 240MB out of ~450MB.
I tried reducing it further to 256m, this caused an error to pop up saying it failed to load the MIB file, but the console then only used 60MB! Further tests reveal that if I rename the mib file on the server, and start the console with an adequate heap size (eg 1024MB), only 80-100MB is used.
Is the MIB file integrally loaded and expanded into the heap every time the console is started? My MIB file is only 13MB on disk, but appears to account for 100+ MB of used heap space.
If so, isn't this a bit wasteful of resources? After all, I can't imagine most people use the MIB browser daily. Maybe it could be loaded when opening the MIB browser tab?
Thanks for your input!
Kind regards,
bdefloo -
Hi!
My console normally uses around 100MB, but my MIB file is much smaller. I agree with you that MIB file can be loaded into memory on first access, not after start. Will change it.
Best regards,
Victor
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login