Note : You will need NetBeans for this
1). Open up NetBeans, at the top click on the tab 'Profile'
2). Click on Attach Profiler, you should get something like this :
3). On the left side of the GUI, click on Memory
4). Make the settings look like this :
5). You'll see something like this after you click on 'Profile'
6). Oh nuu! There's no processes, don't worry, now start up your server.
7). Awesome, I'm so l337 I got processes now.
8). I'm going to profile Channel Server, because most memory leaks are within the Channel Server, for MapleStory at least.
9). Check your launch_channel.bat, you'll see something like this :
10). Refer back to NetBeans and you should see something like this :
You do not need to worry, unless the 'Generations' go above 20 or so, then you know that there's a memory leak. To check where the memory leak is, just double click the 'Class Name' and you've found your memory leak.
Credits:
Rob (For showing me how to do this)
Me










Reply With Quote![[Source] How to find memory leaks.](http://ragezone.com/hyper728.png)


