9/11/2023 0 Comments Java control panel max heap size![]() That would completely change your heap needs. It's possible that you have a memory leak or greedy allocator that you could tune or eliminate. ![]() You should also consider the server VM as that will cause different garbage collection behavior.Īll that said, you should also use a more detailed tool such as jvisualvm to profile the memory usage of your process. However, if they aren't, you could try a smaller heap maximum to see if that might leave more resources for other processes on your machine (for example). If your teeth are very steep, you might consider a big heap just to delay the garbage collection. The lower corner of the sawteeth is about where I would normally set the heap minimum whereas I would use the peak or slope of the sawteeth to experiment with a heap maximum. What you'll see if you look at the memory tab of that display is usually something like a sawtooth. the transient data that we normally allocate and garbage collect. Jconsole can give you useful high-level data such as a feeling for the main resident set vs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |