List Info

Thread: DO NOT REPLY New: - AnimationEngine.setCurrentTime can leak heap memory




DO NOT REPLY New: - AnimationEngine.setCurrentTime can leak heap memory
country flaguser name
United States
2007-08-06 09:58:38
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43
043>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43043

           Summary: AnimationEngine.setCurrentTime can leak
heap memory
           Product: Batik
           Version: 1.7
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: SVG DOM
        AssignedTo: batik-devxmlgraphics.apache.org
        ReportedBy: mhartletk.informatik.tu-darmstadt.de


When trying to render an SVG animation frame by frame into a
graphics object for
further processing using Batik 1.7beta1, repeated calls to
AnimationEngine.setCurrentTime eventually lead to a
java.lang.OutOfMemoryError.

With 64 MB heap memory, the test application Test.java fails
around 2150
invocations of AnimationEngine.setCurrentTime() with the
sample animated SVG
document test.svg.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

------------------------------------------------------------
---------
To unsubscribe, e-mail: batik-dev-unsubscribexmlgraphics.apache.org
For additional commands, e-mail: batik-dev-helpxmlgraphics.apache.org


DO NOT REPLY - AnimationEngine.setCurrentTime can leak heap memory
country flaguser name
United States
2007-08-06 10:05:38
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43
043>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43043





------- Additional Comments From mhartletk.informatik.tu-darmstadt.de  2007-08-06 08:05
-------
Created an attachment (id=20603)
 --> (http://issues.apache.org/bugzilla/attac
hment.cgi?id=20603&action=view)
Test case to showcase an OutOfMemoryError

This test case application is reduced to what is necessary
to showcase the
OutOfMemoryError.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

------------------------------------------------------------
---------
To unsubscribe, e-mail: batik-dev-unsubscribexmlgraphics.apache.org
For additional commands, e-mail: batik-dev-helpxmlgraphics.apache.org


DO NOT REPLY - AnimationEngine.setCurrentTime can leak heap memory
country flaguser name
United States
2007-08-06 10:08:58
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43
043>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43043





------- Additional Comments From mhartletk.informatik.tu-darmstadt.de  2007-08-06 08:08
-------
Created an attachment (id=20604)
 --> (http://issues.apache.org/bugzilla/attac
hment.cgi?id=20604&action=view)
Animated SVG document used for the test case

Animated SVG using lines, starting around 54 seconds

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

------------------------------------------------------------
---------
To unsubscribe, e-mail: batik-dev-unsubscribexmlgraphics.apache.org
For additional commands, e-mail: batik-dev-helpxmlgraphics.apache.org


DO NOT REPLY - AnimationEngine.setCurrentTime can leak heap memory
country flaguser name
United States
2007-08-13 09:44:49
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43
043>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43043





------- Additional Comments From mhartletk.informatik.tu-darmstadt.de  2007-08-13 07:44
-------
In order to try to resolve this issue, I wrote a very simple
animation engine
which changes the DOM directly, and modified the test
application to use this
simple engine. As no memory leak occurred, I assume that
this leak is really
related to the existing AnimationEngine and not to the DOM
implementation.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

------------------------------------------------------------
---------
To unsubscribe, e-mail: batik-dev-unsubscribexmlgraphics.apache.org
For additional commands, e-mail: batik-dev-helpxmlgraphics.apache.org


DO NOT REPLY - AnimationEngine.setCurrentTime can leak heap memory
country flaguser name
United States
2007-08-13 19:11:02
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43
043>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43043





------- Additional Comments From camapache.org  2007-08-13
17:11 -------
Thanks for narrowing it down.  When I get some time, I'll
investigate further.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

------------------------------------------------------------
---------
To unsubscribe, e-mail: batik-dev-unsubscribexmlgraphics.apache.org
For additional commands, e-mail: batik-dev-helpxmlgraphics.apache.org


DO NOT REPLY - AnimationEngine.setCurrentTime can leak heap memory
country flaguser name
United States
2007-09-28 08:30:50
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43
043>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43043


camapache.org changed:

           What    |Removed                     |Added
------------------------------------------------------------
----------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From camapache.org  2007-09-28
06:30 -------
I just committed a change that makes animation elements not
store as much
"history" about the animation as they progress. 
Your sample program now runs to
completion (10000 iterations) when running with -Xmx64M. 
I'm not convinced
there's a memory leak per se.  Please re-open the bug if you
find evidence there is.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

------------------------------------------------------------
---------
To unsubscribe, e-mail: batik-dev-unsubscribexmlgraphics.apache.org
For additional commands, e-mail: batik-dev-helpxmlgraphics.apache.org


[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )