2011-04-11, 04:41 PM
ctblack Wrote:I wouldn't call it a memory leak (yet), as memory leak is when a programmer forgets about writing code to free up requested memory from windows and every time that part of the code is executed, it allocate more and more memory. (Basically stacking the previous requested memory from previous calls).Situation at Lionheart / Zakum / etc
This is more of a memory hog behavior than memory leak. As MS grows, it gets more and more content, and the way ms works is having the client store all the images/animation info. When ms first started it will attempts to load in as much of itself as possible (this varies depend on how much ram and what other programs are running). MS will usually load all the info for the map you first log into and anything else near/around that map. Once you moving to a new unexpected area, then windows will load them from the hard drive. Its very much like how CPU cache works.
- Log into maple
- Travel 3 maps to Lionheart map
- Start training with party members
- Maple start acting weird after 20 minutes (transparent textures)
- Maple crashes at 30 minutes
So it's clearly a memory leak, since:
- You only visit 3 maps
- Stay in that map
- You don't cc
- You (and the 5 other party members) only do their basic attack skills
Still memory get's pushed full of data untill Maple crashes.
What I think what happens is that Maple does this:
- Render animation.slash.1 to memory
- Draw animation.slash.1 from memory
- [DO NOT] delete animation.slash.1 from memory
- Render animation.slash.2 to memory
- Draw animation.slash.2 from memory
- [DO NOT] delete animation.slash.2 from memory
- etc
This would explain why:
- The more you keep attacking, the faster maple's memory size increases.
- The more people that keep attacking, the faster maple's memory size increases.
Oh btw, I have 2GB ram, and a 8GB swapfile on a dedicated partition. It's not my PC, it's purely maple. I reinstalled maple 3 times and it didn't help.

