zrevai / ps3mediaserver

Automatically exported from code.google.com/p/ps3mediaserver
2 stars 0 forks source link

[General] Memory leak #215

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Playing a MKV file in Windows Vista Ultimate 64.

What is the expected output? What do you see instead?
For the memory buffer to empty out when the file is done being streamed.
Instead, the program retains about 500mb worth of memory in task manager.

What version of the product are you using? On what operating system?
v. 1.03 on Windows Vista Ultimate 64 SP1

If you are transcoding a media file, which engine are you using (mencoder,
avisynth/mencoder, tsmuxer?)
n/a

If the media file is in error (or does not play flawlessly), what are the
codec informations of this file (you can use following program:
mediainfo.sourceforge.net) ? 
n/a

Please provide any additional information below and PLEASE JOIN debug.log
file !!

Original issue reported on code.google.com by kak...@gmail.com on 22 Jan 2009 at 2:41

Attachments:

GoogleCodeExporter commented 9 years ago
it's not a memory leak... pms allocates a buffer and release it after... you 
have to 
wait some minutes for this reset to have some effect

Original comment by ps3mediaserver@gmail.com on 22 Jan 2009 at 5:49

GoogleCodeExporter commented 9 years ago
The problem is hat I have noticed it does not release the memory afterward
allocation. I have pms running from a server and I watched some stuff on my ps3 
last
night. My ps3 has been off all night and my computer remained on. It is now 
morning
and pms is using 500mb of memory even though I am currently streaming no files 
and it
is not connected to the ps3 at all. I really hope you will reopen this issues 
and
take another look at it, because right now I have to restart the pms server 
after
almost every use. I'm running v. 1.03 on Windows Vista Business 64 SP1.

Original comment by Cow...@gmail.com on 23 Jan 2009 at 6:33

GoogleCodeExporter commented 9 years ago
ok maybe I was too quick... buffer does not seem to be fully released with just 
one 
GC call... I need to call it 3 or 4 times to see memory released

Original comment by ps3mediaserver@gmail.com on 23 Jan 2009 at 6:45

GoogleCodeExporter commented 9 years ago
:) thanks. ya, java's garbage collection seems finicky from my experience of 
working
with it. It's not an unusual problem tho, a lot of java applications have 
memory issues.

Original comment by Cow...@gmail.com on 23 Jan 2009 at 7:19

GoogleCodeExporter commented 9 years ago

Original comment by ps3mediaserver@gmail.com on 24 Jan 2009 at 11:54