OutOfMemory Error http://dev.libresource.org/home/community/forum/90d783d9c0a8001e01032ec14fe25540 RE : OutOfMemory Error http://dev.libresource.org/home/community/forum/90d783d9c0a8001e01032ec14fe25540/9667c830c0a8001e01aa0f847cb99f05 Guest 2006-02-23T11:15:17+01:00 You can read this doc to learn more about so6 ignore file (useful to ignore some files in your workspace).


LS LORIA Team]]>
RE : OutOfMemory Error http://dev.libresource.org/home/community/forum/90d783d9c0a8001e01032ec14fe25540/964aa2f2c0a8001e00543537fc920cda Guest 2006-02-23T10:43:27+01:00 RE : OutOfMemory Error http://dev.libresource.org/home/community/forum/90d783d9c0a8001e01032ec14fe25540/925c7541c0a8001e01b73b3888bc96f2 Pascal Molli 2006-02-22T16:24:26+01:00 Not so much… Our server runs with less than 1Go...

During the commit, most of the work is done locally. When you have a lot of files, and it's your first import, the so6 client build locally a big patch file. Next, it sends this big file on the server using just an http post.... The server stores the received big patch file in Postgres...

These operations can take a long time, but not consumme a lot of memory...

We have already commited Linux iso distributions (>700Mo) with no problems...

But, maybe there is still a bug somewhere…]]> RE : OutOfMemory Error http://dev.libresource.org/home/community/forum/90d783d9c0a8001e01032ec14fe25540/913c222ac0a8001e015c9c138f464837 Florent Jouille 2006-02-22T11:09:30+01:00

export JAVA_OPTS="-server -Xms512m -Xmx512m"

You can change 512m with a correct value depending the size of the memory.


LS LORIA Team]]>
OutOfMemory Error http://dev.libresource.org/home/community/forum/90d783d9c0a8001e01032ec14fe25540/90d783f0c0a8001e0123d73e77ef6617 Christine Plumejeaud 2006-02-22T09:19:36+01:00 Here is tomcat logs. Does LibreSource requires a lot of memory?

>2006-02-21 11:29:53,375 : SEVERE : http-9000-Processor24 : 
>> JFactory.postInvoke :    system exception in business method java.lang.OutOfMemoryError
>> 2006-02-21 11:30:16,546 : SEVERE : WorkThread-2/129 : JEntityContext.activate :    error: java.lang.OutOfMemoryError
>> 2006-02-21 11:30:16,562 : SEVERE : WorkThread-2/129 : 
>> JFactory.postInvoke :    system exception in business method: javax.ejb.EJBException: Cannot activate bean
>>     at org.objectweb.jonas_ejb.container.JEntityContext.activate(JEntityContext.java:625) 
>>     at org.objectweb.jonas_ejb.container.JEntitySwitch.mapICtx(JEntitySwitch.java:630) 
>>     at org.objectweb.jonas_ejb.container.JEntitySwitch.getICtx(JEntitySwitch.java:470)
>>     at org.objectweb.jonas_gen.org.libresource.kernel.interfaces.JOnASNode_1237537263Local.getChildren(JOnASNode_1237537263Local.java:723)
>>     at org.libresource.kernel.ejb.NodeBean.ejbHomeGetByPath(NodeBean.java:120)
>>     at org.objectweb.jonas_gen.org.libresource.kernel.interfaces.JOnASNode_1237537263LocalHome.getByPath(JOnASNode_1237537263LocalHome.java:337)
>>     at org.libresource.kernel.ejb.KernelServiceBean.exist(KernelServiceBean.java:486)
>>     at org.objectweb.jonas_gen.org.libresource.kernel.interfaces.JOnASKernelService_861693235Remote.exist(JOnASKernelService_861693235Remote.java:2163)
>>     at org.libresource.kernel.ejb.IndexationEventListenerBean.onMessage(IndexationEventListenerBean.java:67)
>>     at sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source)
>>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>     at java.lang.reflect.Method.invoke(Method.java:324)
>>     at org.objectweb.jonas_ejb.container.JMessageEndpointProxy.invoke(JMessageEndpointProxy.java:214)
>>     at $Proxy0.onMessage(Unknown Source)
>>     at org.objectweb.joram.client.connector.InboundSession.onMessage(InboundSession.java:165)
>>     at org.objectweb.joram.client.jms.Session.run(Session.java:852)
>>     at org.objectweb.joram.client.connector.InboundSession.run(InboundSession.java:150)
>>     at org.objectweb.jonas_lib.JWorkManager.doMyWork(JWorkManager.java:386)
>>     at org.objectweb.jonas_lib.JWorkManager.nextWork(JWorkManager.java:443)
>>     at org.objectweb.jonas_lib.JWorkManager$WorkThread.run(JWorkManager.java:536)
>> 2006-02-21 11:30:16,562 : SEVERE : WorkThread-2/129 : 
>> JFactory.postInvoke :    system exception in business method:
>> javax.ejb.EJBException: Cannot activate bean
>>     at org.objectweb.jonas_ejb.container.JEntityContext.activate(JEntityContext.java:625)
>>     at org.objectweb.jonas_ejb.container.JEntitySwitch.mapICtx(JEntitySwitch.java:630)
>>     at org.objectweb.jonas_ejb.container.JEntitySwitch.getICtx(JEntitySwitch.java:470)
>>     at org.objectweb.jonas_gen.org.libresource.kernel.interfaces.JOnASNode_1237537263Local.getChildren(JOnASNode_1237537263Local.java:723)
>>     at org.libresource.kernel.ejb.NodeBean.ejbHomeGetByPath(NodeBean.java:120)
>>     at org.objectweb.jonas_gen.org.libresource.kernel.interfaces.JOnASNode_1237537263LocalHome.getByPath(JOnASNode_1237537263LocalHome.java:337)
>>     at org.libresource.kernel.ejb.KernelServiceBean.exist(KernelServiceBean.java:486)
>>     at org.objectweb.jonas_gen.org.libresource.kernel.interfaces.JOnASKernelService_861693235Remote.exist(JOnASKernelService_861693235Remote.java:2163)
>>     at org.libresource.kernel.ejb.IndexationEventListenerBean.onMessage(IndexationEventListenerBean.java:67)
>>     at sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source)
>>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>     at java.lang.reflect.Method.invoke(Method.java:324)
>>     at org.objectweb.jonas_ejb.container.JMessageEndpointProxy.invoke(JMessageEndpointProxy.java:214)
>>     at $Proxy0.onMessage(Unknown Source)
>>     at org.objectweb.joram.client.connector.InboundSession.onMessage(InboundSession.java:165)
>>     at org.objectweb.joram.client.jms.Session.run(Session.java:852)
>>     at org.objectweb.joram.client.connector.InboundSession.run(InboundSession.java:150)
>>     at org.objectweb.jonas_lib.JWorkManager.doMyWork(JWorkManager.java:386)
>>     at org.objectweb.jonas_lib.JWorkManager.nextWork(JWorkManager.java:443)
>>     at org.objectweb.jonas_lib.JWorkManager$WorkThread.run(JWorkManager.java:536)
]]>