Issue Details (XML | Word | Printable)

Key: FOR-591
Type: Bug Bug
Status: Open Open
Priority: Blocker Blocker
Assignee: Unassigned
Reporter: Ross Gardler
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Forrest

MaxMemory needs increasing for large document sets: Memory Leak with XMLFileModule

Created: 29/Jul/05 09:16 PM   Updated: 01/Sep/09 03:25 AM
Return to search
Component/s: Core operations
Affects Version/s: 0.7, 0.8
Fix Version/s: 0.9-dev

Time Tracking:
Not Specified

Issue Links:
Blocker
 
Reference
 

Urgency: Urgent


 Description  « Hide
Since the docs restructuring for the 0.7 release it has become necessary to increase the maxmemory to be able to build the Forrest site. We gained three copies of the documents so suddenly have a large document set to trigger memory leakage issues.

Possibly COCOON-1574 "Memory Leak with XMLFileModule".

Does someone have the tools to run some diagnostics?

(NB maxmemory has been increased in our site-author/forrest.properties, if we resolve this issue it should be reduced again)

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
David Crossley added a comment - 11/Nov/05 04:40 PM
I tried going back to the default again today, still neeed.

Ron Blaschke added a comment - 11/Nov/05 10:25 PM

Ross Gardler added a comment - 11/Nov/05 10:37 PM
Cocoon has now moved to JIra, the issue tracker for this is now:

http://issues.apache.org/jira/secure/ViewIssue.jspa?key=COCOON-1574

Tim Williams added a comment - 10/Dec/05 11:16 AM
I think I have recently compounded this issue with similar simple caching in the locationmap -- although it will likely be *much*less noticable (strings vs doms). I'll try to figure out what the "official store" for caching means and how to properly make use of it for caching.

David Crossley added a comment - 26/Jan/06 08:09 AM
Just an update note ... there has been some activity towards fixing this at COCOON-1574

Gavin added a comment - 26/Mar/06 01:32 PM
Another update note :

I have just added a comment (to COCOON-1574) to see how they are getting on, if no near time frame for resolving it then maybe this will have to be put back to a 0.9 release.

Ralph Goers has replied and said will look at it in the next few days (http://issues.apache.org/jira/browse/COCOON-1574#action_12371833)

David Crossley added a comment - 27/Mar/06 01:07 PM
Setting Urgency=urgent. This issue was already present in the 0.7 release, so it probably isn't a blocker. It became apparent due to our hefty site-author docs arrangement, so it is a blocker for that situation. It would certainly be good to have fixed.

David Crossley added a comment - 13/Apr/06 10:11 AM
This recent thread at cocoon-dev continued to address the issues:
Re: questions on store usage
http://marc.theaimsgroup.com/?t=113977732400002

Antonio Gallardo added a comment - 06/May/06 12:13 PM
Are we able to update cocoon if I wrote a simple fix for that?

Ross Gardler added a comment - 06/May/06 09:33 PM
I am unaware of any reason not to try an upgrade Cocoon. However, I have no idea how to build Cocoon anymore (since the move to Maven). If you know how - that would be really cool.

David Crossley added a comment - 09/May/06 03:32 PM
Changed the Issue Summary and Description.

Tim Williams added a comment - 07/Jul/06 02:56 AM
Move to the next release. We need Cocoon to address the dependent issue first.

Discussed:
http://marc.theaimsgroup.com/?t=115188914900001&r=1&w=2

David Crossley added a comment - 28/Dec/07 06:11 AM
Ralph Goers at Cocoon has implemented the new XPathXMLFileModule to address the issues with XMLFileModule. Currently in Cocoon-2.1 branch, soon to be also in trunk.

See recent comments in COCOON-1574.

Tim Williams added a comment - 28/Aug/09 12:47 AM
Can anyone confirm that this isn't a "drop-in" replacement? A simple switch from XMLFileModule to XPathXMLFileModule leads me to an error like:

"Caused by: org.apache.avalon.framework.configuration.ConfigurationException: No attribute named "src" is associated with the configuration element "file" at <generated>file:/Users/twilliams/Development/forrest/main/webapp/WEB-INF/cocoon.xconf:248:56"

My initial hunch is that the original version allowed lazy loading of the source the new XPathXMLFileModule does not but before I looked into it too much I wanted to see if someone experiences the same?

fwiw, tracking just this little problem down in the unnavigable mess that has become the cocoon source leads me wanting to pursue the oft proposed forrest2...

David Crossley added a comment - 01/Sep/09 03:25 AM
Further discussion today:
  Re: XPathXMLFileModule differences
  http://thread.gmane.org/gmane.text.xml.forrest.devel/27275

See abovementioned comment 2007-Dec-27 here and at COCOON-1574.