Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Maple eating up memory
#9
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).
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.
Situation at Lionheart / Zakum / etc
- 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.
Reply


Messages In This Thread
Maple eating up memory - by Joe.2 - 2011-04-10, 04:45 PM
Maple eating up memory - by Locked - 2011-04-10, 04:59 PM
Maple eating up memory - by Kalovale - 2011-04-10, 05:10 PM
Maple eating up memory - by Joe.2 - 2011-04-10, 05:10 PM
Maple eating up memory - by Joe.2 - 2011-04-10, 05:14 PM
Maple eating up memory - by Kalovale - 2011-04-10, 05:15 PM
Maple eating up memory - by Devil - 2011-04-11, 09:49 AM
Maple eating up memory - by ctblack - 2011-04-11, 03:57 PM
Maple eating up memory - by Devil - 2011-04-11, 04:41 PM
Maple eating up memory - by ctblack - 2011-04-11, 04:56 PM
Maple eating up memory - by MuscleWizard - 2011-04-11, 06:28 PM
Maple eating up memory - by ShanghaiDizzy - 2011-04-14, 06:54 PM
Maple eating up memory - by maplefreak26 - 2011-04-14, 08:33 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)