bugGnash - The GNU Flash player - Bugs: bug #20455, why the mem become less and less?

 
 

bug #20455: why the mem become less and less?

Submitted by:  zhengbaoju <zhengbuaa>
Submitted on:  Thu 12 Jul 2007 06:11:46 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Wed 18 Jul 2007 03:17:30 AM UTC, comment #12:

I get the bug is fixed in HEAD, feel free to follow up if I got it wrong.

Sandro Santilli <strk>
Project Member
Mon 16 Jul 2007 08:35:25 AM UTC, comment #11:

the attach file is the test swf we used. I just used the gnash of new version as you told to me, and then i
find that the memory is not worse ,I will test it continuely. but I find that some compents of swf do not show corecctly. I will test it for more,and I will
connact with you for gansh.
Thank you very much.
Have a good day!

(file #13352)

zhengbaoju <zhengbuaa>
Mon 16 Jul 2007 05:59:16 AM UTC, comment #10:

Can I send the swf to you in your e_mail? I have request some free ftp website,but which will be availbe after some days

zhengbaoju <zhengbuaa>
Sat 14 Jul 2007 05:20:57 AM UTC, comment #9:

You can also upload your movie to a public webserver and write the URL and an md5sum here.

Sandro Santilli <strk>
Project Member
Sat 14 Jul 2007 04:42:45 AM UTC, comment #8:

It seem that the test.swf is too big and the size is 712k,so I cant send it to you ,do I have any other way to you? if I cut the swf for smaller ,I will cost some times,and I will then send to you later.
Thanks!

zhengbaoju <zhengbuaa>
Sat 14 Jul 2007 04:37:46 AM UTC, comment #7:

Ok,I attach my swf whose name is test.swf, the flash version is 4. The function keys are 1,2,4,5 and 6. when press any key quickly, you can find the mem become less. we run the player on embedd linux,so we find it easliy,but on a PC, you can do also. I also find that ,the gnash of 0.8.0 is so bad,but the cvs is better. I have not use the current HEAD,I will do it .
thanks very much!

zhengbaoju <zhengbuaa>
Fri 13 Jul 2007 02:17:25 PM UTC, comment #6:

Attach your SWF movie please, we can't just shoot in the dark here.
Also, make sure you're using current HEAD, as 0.8.0 did NOT have a garbage collector activated.

Sandro Santilli <strk>
Project Member
Fri 13 Jul 2007 04:21:59 AM UTC, comment #5:

the version gcc i used is 3.4.5 20051201 (Red Hat 3.4.5-2).
the libc is glib-2.11.3.
I exported GLIBCXX_FORCE_NEW=1 and GLIBCPP_FORCE_NEW,the bug remaind.

zhengbaoju <zhengbuaa>
Fri 13 Jul 2007 02:21:17 AM UTC, comment #4:

If you're using the GNU standard c++ lib you can set GLIBCPP_FORCE_NEW (for older GCC versions) or GLIBCXX_FORCE_NEW (for newer versions) to 1 to force early release of memory.

If you don't set these variables the library will save the memory
for later recycling.

Sandro Santilli <strk>
Project Member
Fri 13 Jul 2007 12:45:21 AM UTC, comment #3:

I play some frames for loop in normal ,the memory not become less.
When I press some key to change the frame ,the memory become less.

zhengbaoju <zhengbuaa>
Fri 13 Jul 2007 12:21:09 AM UTC, comment #2:

we want to play SWF 4 just,and we can update the SWF to 5 or more.and the version of gnash we used is gnash-0.8.0 and cvs version , the same bug is found. I studied some codes ,and I think the main reason is the DisplayList manager, we malloc new list,but not free them as soon as .I am not sure about it. The remove_display_object function is called by the UNLOAD event from SWF? and it will free the olddisplaylist? There is no removeMovieClip command in our SWF 4,so it is the reason

zhengbaoju <zhengbuaa>
Thu 12 Jul 2007 09:53:03 AM UTC, comment #1:

Most likely because of memory leaks. What SWF are you playing, and what is your gnash version and setup? (the output of gnash --version)

Tomas Groth <tgc>
Thu 12 Jul 2007 06:11:46 AM UTC, original submission:

when i play a flash with gansh ,I find that the freemem become less and less. I find that it is in the function movie_instance::advance. why? and how i can deal with it as soon as ?

thanks very much

zhengbaoju <zhengbuaa>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #13352:  test.swf.tar.gz added by zhengbuaa (450KiB - application/x-gzip - This is the test swf, the function keys are 1, 2, 4,5,6 )

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by tgc (Posted a comment)
  • -unavailable- added by zhengbuaa (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 18 Jul 2007 03:17:30 AM UTCstrkStatusNeed Info=>Fixed
      Open/ClosedOpen=>Closed
    Mon 16 Jul 2007 08:35:25 AM UTCzhengbuaaAttached File-=>Added test.swf.tar.gz, #13352
    Sat 14 Jul 2007 05:20:57 AM UTCstrkStatusInvalid=>Need Info
    Fri 13 Jul 2007 02:17:25 PM UTCstrkStatusNone=>Invalid

    Back to the top


    Powered by Savane 3.1-cleanup1