Skip to main content
Manjith_C_M_
Inspiring
September 7, 2010
Question

memmory leakage

  • September 7, 2010
  • 2 replies
  • 451 views

hi all,

now i am working in a big game,it has 5 sections.each section need to load 3 or 4 xml files.

if player can purchase food items when it store in xml(writing by PHP).and reload this section again.

this make memmory leakage in server and it take lot of time to reloading.

how can resolve this problem...?

This topic has been closed for replies.

2 replies

Manjith_C_M_
Inspiring
September 9, 2010

   Every event listener  uses up memory ,so it's a good idea to remove the event listeners

and remove all objects , delete dynamically created variables and set null value in other variables

that are no  longer needed in the application.

without cleaning up after yourself .can result in a memory  leak

September 7, 2010

Your question is very vague... If you want to get a serious answer you need to be much more specific and attach some relevant code so people can help