Author Topic: Memory Leak  (Read 2268 times)

Trikitiger

  • Traveller
  • *
  • Posts: 31
    • View Profile
    • Teriki Tora's Portfolio
Memory Leak
« on: July 27, 2010, 02:48:32 am »
BTW, this is on the bug tracker now.

After reading the memory leak upon spell usage, I remembered that I was also receiving a memory leak, but my character doesn't use spells!
Spellcasting leaks RAM
So I decided to document this problem using my ever-so-helpful task manager. I noticed that half the time, when the PSClient crashes, my Memory usage for the client is at 1 million KB. There is definitely something in the code that's been continually saving data to amass to this large quantity. Unfortunately I wasn't able to get the client to crash this time (the memory dumped from the 700,000 KB to the 400,000 KB), but I was able to document it.


Notice that I have Photoshop Open as well. And that the CPU Usage is at the full 99% (Mine rarely hits 100% unless it's a major thing)

The CPU usage is down, but my Memory usage went up! Photoshop's did as well, but only because I had 2 layers in one file instead of one.

Holy cow! 700,000! Photoshop went up as well, but only because I now had 3 layers instead of 2 in one file. When my PSClient 'randomly' crashes, I notice that the Memory usage of the client exceeds 1 million! That's HUGE.

And as you will also notice, none of the other programs displayed are gaining -THAT- much Memory.
« Last Edit: July 27, 2010, 08:35:52 pm by Trikitiger »

I'm Kurora on the IC server. Don't get upset about her attitude, that's just how she is. I'm not really like that X3

Geoni

  • Veteran
  • *
  • Posts: 1182
  • -
    • View Profile
Re: Memory Leak
« Reply #1 on: July 27, 2010, 04:14:34 am »
Weird...mine is above 1 million k.


-sig by sarras

Overtherainbow

  • Hydlaa Resident
  • *
  • Posts: 179
  • I see you lookin' at mah rainbowz.
    • View Profile
    • EBONWUMON DOT COM
Re: Memory Leak
« Reply #2 on: July 28, 2010, 06:41:04 am »


Here, I fixed it.

Geoni

  • Veteran
  • *
  • Posts: 1182
  • -
    • View Profile
Re: Memory Leak
« Reply #3 on: July 28, 2010, 08:14:06 am »
ty


-sig by sarras

Trikitiger

  • Traveller
  • *
  • Posts: 31
    • View Profile
    • Teriki Tora's Portfolio
Re: Memory Leak
« Reply #4 on: July 28, 2010, 03:03:30 pm »

I'm Kurora on the IC server. Don't get upset about her attitude, that's just how she is. I'm not really like that X3

Earowo

  • Veteran
  • *
  • Posts: 1463
    • View Profile
    • Guild Site
Re: Memory Leak
« Reply #5 on: July 30, 2010, 09:35:45 am »
mines usually around 500k
plus PSlaunch stays open after you start playing but thats only around 32-40k
Dohmo: Please clean up your language immediately.
Me: as i just said, what i said, fits in the guidlines of rated PG, i was just explaining to the G guy
Dohmo: Sorry I tried to e nice
Dohmo: and i'm telling you to clean it up. last warning
Dohmo: now just do it
Dohmo: No more warnings

Abuse?

RlyDontKnow

  • Associate Developer
  • Hydlaa Citizen
  • *
  • Posts: 403
    • View Profile
Re: Memory Leak
« Reply #6 on: July 30, 2010, 10:27:13 am »
for those who don't read the bt: the issue was nailed down to being an issue in the soundmanager, if you're very concerned about your memory usage, disabled sound for now.

Earowo

  • Veteran
  • *
  • Posts: 1463
    • View Profile
    • Guild Site
Re: Memory Leak
« Reply #7 on: July 30, 2010, 10:29:34 am »
for me mines around 500k when sound is off, i never checked what it was with sound on
Dohmo: Please clean up your language immediately.
Me: as i just said, what i said, fits in the guidlines of rated PG, i was just explaining to the G guy
Dohmo: Sorry I tried to e nice
Dohmo: and i'm telling you to clean it up. last warning
Dohmo: now just do it
Dohmo: No more warnings

Abuse?