[ https://issues.apache.org/jira/browse/OFBIZ-4065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972820#action_12972820 ]
BJ Freeman commented on OFBIZ-4065: ----------------------------------- for future this was resolved by JVm >> -----Original Message----- >> From: Jacques Le Roux [mailto:jacques.le.r...@les7arts.com] >> Hi, >> >> After having fixed the trunk bug (no more threads running for long >> time). We got another hs_err_pid29490.log one hour ago. >> >> It appears that it could be a JVM 64bits issue. The symptom is near the >> one found here >> http://confluence.atlassian.com/pages/viewpage.action?pageId=219023686. >> >> The reason I'm inclined to think so is because the chunk of memory >> asked is 2GB! >> >> We are using >> $ java -version >> java version "1.6.0_22" >> Java(TM) SE Runtime Environment (build 1.6.0_22-b04) >> Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode) > > I only upgraded to that a week or two ago. > >> >> From >> http://bugs.sun.com/view_bug.do;jsessionid=eda2515610ea5ffffffffb524779 >> 629b4d53?bug_id=6916062 >> Could we try to use 6u22-rev(b09)? > > You could try b09 if you install it manually. Your VM is fully upto date > on the apt-get system and the version you have currently is the latest > one for the distribution (10.04 LTS) , so either wait for the next one > or install an alternative java manually. We really need to do something. Since I fixed the issue yesterday, we got 3 same crashes, 2 for trunk, one for stable, always: # A fatal error has been detected by the Java Runtime Environment: # # java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space? # # Internal Error (allocation.cpp:215), pid=29944, tid=140101784344320 # Error: Chunk::new Following http://bugs.sun.com/view_bug.do?bug_id=6916062 I will update to 6u22-rev(b09). If it does not work I will downgrade to Java 6 update 17. > Why is this going to ofbiz-private ? > > I don't see anything sensitive here, and who knows, maybe a community > member might be able to help you. Right, I just followed the previous thread Thanks Jacques > Gav... > >> >> Thanks >> >> Jacques >> >> From: "Jacques Le Roux" <jacques.le.r...@les7arts.com> >> > OK, I have fixed the (a?) trunk deadlock issue at r1050364 >> > It came from >> http://svn.apache.org/viewvc?view=revision&revision=1040798 >> > in org.ofbiz.base.util.UtilIO.copy(UtilIO.java:111) >> > >> > To relaunch, I had to kill the trunk process because it was not >> responding to stopofbiz.sh. But I think we lost memory somewhere. >> > Because we are using 3GB at all, and far less for both OFBiz running >> threads. I don't know how to recover this memory... >> > >> > There are still leaks in stable but that's less a problem for the >> demo, at least for now... >> > >> > Without the increased memory quota it would have been a bit longer to >> understand, thanks again! >> > >> > Jacques > bug in UtilIO.copy(Reader reader, boolean closeIn, Appendable out) > ------------------------------------------------------------------ > > Key: OFBIZ-4065 > URL: https://issues.apache.org/jira/browse/OFBIZ-4065 > Project: OFBiz > Issue Type: Bug > Affects Versions: SVN trunk > Reporter: Jacques Le Roux > Assignee: Jacques Le Roux > Fix For: SVN trunk > > Attachments: OFBIZ-4065_UtilIO.copy.patch > > > If you append cmssite/cms/APACHE_OFBIZ_HTML to a local instance or the trunk > demo, like (don't use it) > https://demo-trunk.ofbiz.apache.org/cmssite/cms/APACHE_OFBIZ_HTML you will > never get any result. It works at > http://demo-trunk.businessesnetwork.com/cmssite/cms/APACHE_OFBIZ_HTML (BJ's > demo instance) but I don't know why (and have no ways to find it out) > I'm not quite sure the attached patch is the right solution, but at least it > works locally. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.