Use a tool known as a profiler to identify spikes. Probably some poor object creation within a loop.
|
Hi i just figured out my servers leaking memory I'm not to sure how to fix it and i would really like it if someone would maybe have a tutorial about it I've been trying to search around and couldn't find a resolution if anyone knows a way please let me know thanks !
Use a tool known as a profiler to identify spikes. Probably some poor object creation within a loop.
Take a look at this https://docs.oracle.com/javase/8/doc.../profiler.html
Visualvm comes with jdk so just run visualvm in CMD should be in path
Yeah I don’t know how to open that that’s what I mean and If I figure out what’s causing the memory leak how can I fix it?
Yeah I don’t know how to open that that’s what I mean and If I figure out what’s causing the memory leak how can I fix it?
Locate the directory where you installed JDK (e.g. Program Files) and open the bin folder. In there you should find an application called "jvisualvm".
https://visualvm.github.io/documentation.html
Would u be able to add me on discord by chance neeewby#8938
I have a lot of questions sorry :/
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |