I am trying to test ofbiz 10.04.02 and whenever I try to get a PDF
document shown (e.g. an invoice etc) ofbiz. throws out of PermGen space error. I have changed the PermSpace to be 1024m but it still fails. What may be causing it? The setup has only the demo data loaded running against mysql database. |
when I encountered the PermSpace issue, I found out (with the help of Mike
:)) that the job scheduler running in the background was the the culprit. try select * from job_sandbox; from your database to see the number of entries there. Regards, Mandeep Sidhu On Thu, Oct 4, 2012 at 12:06 PM, Parm Lehal <[hidden email]> wrote: > I am trying to test ofbiz 10.04.02 and whenever I try to get a PDF > document shown (e.g. an invoice etc) ofbiz. throws out of PermGen space > error. I have changed the PermSpace to be 1024m but it still fails. What > may be causing it? The setup has only the demo data loaded running against > mysql database. > -- Mandeep Singh Sidhu |
There are 622 entries in there.
On Thu, Oct 4, 2012 at 12:13 PM, Mandeep Sidhu <[hidden email]>wrote: > when I encountered the PermSpace issue, I found out (with the help of Mike > :)) that the job scheduler running in the background was the the culprit. > > try select * from job_sandbox; from your database to see the number of > entries there. > > Regards, > Mandeep Sidhu > > On Thu, Oct 4, 2012 at 12:06 PM, Parm Lehal <[hidden email]> wrote: > > > I am trying to test ofbiz 10.04.02 and whenever I try to get a PDF > > document shown (e.g. an invoice etc) ofbiz. throws out of PermGen space > > error. I have changed the PermSpace to be 1024m but it still fails. What > > may be causing it? The setup has only the demo data loaded running > against > > mysql database. > > > > > > -- > Mandeep Singh Sidhu > |
Kindly check if some of them have not been finished yet (check for job
status), they might be running in the background, I suggest you clean up this table if you want to give some space to other jobs. Regards, Mandeep http://www.simbacart.com http://www.sidsol.com On Thu, Oct 4, 2012 at 12:26 PM, Parm Lehal <[hidden email]> wrote: > There are 622 entries in there. > > > > On Thu, Oct 4, 2012 at 12:13 PM, Mandeep Sidhu <[hidden email] > >wrote: > > > when I encountered the PermSpace issue, I found out (with the help of > Mike > > :)) that the job scheduler running in the background was the the culprit. > > > > try select * from job_sandbox; from your database to see the number of > > entries there. > > > > Regards, > > Mandeep Sidhu > > > > On Thu, Oct 4, 2012 at 12:06 PM, Parm Lehal <[hidden email]> wrote: > > > > > I am trying to test ofbiz 10.04.02 and whenever I try to get a PDF > > > document shown (e.g. an invoice etc) ofbiz. throws out of PermGen space > > > error. I have changed the PermSpace to be 1024m but it still fails. > What > > > may be causing it? The setup has only the demo data loaded running > > against > > > mysql database. > > > > > > > > > > > -- > > Mandeep Singh Sidhu > > > -- Mandeep Singh Sidhu |
I don't think it is caused my this in my case because even after clearing
all the jobs I get the PermGen space error as soon as I try to get a pdf. It used to work just fine...No settings were changed and all of a sudden this behavior...... Something seems to be fishy about FOP here. I get the error as soon as I try to create a PDF even it is the first step after starting the server. On Thu, Oct 4, 2012 at 12:29 PM, Mandeep Sidhu <[hidden email]>wrote: > Kindly check if some of them have not been finished yet (check for job > status), they might be running in the background, I suggest you clean up > this table if you want to give some space to other jobs. > > Regards, > Mandeep > http://www.simbacart.com > http://www.sidsol.com > > On Thu, Oct 4, 2012 at 12:26 PM, Parm Lehal <[hidden email]> wrote: > > > There are 622 entries in there. > > > > > > > > On Thu, Oct 4, 2012 at 12:13 PM, Mandeep Sidhu < > [hidden email] > > >wrote: > > > > > when I encountered the PermSpace issue, I found out (with the help of > > Mike > > > :)) that the job scheduler running in the background was the the > culprit. > > > > > > try select * from job_sandbox; from your database to see the number of > > > entries there. > > > > > > Regards, > > > Mandeep Sidhu > > > > > > On Thu, Oct 4, 2012 at 12:06 PM, Parm Lehal <[hidden email]> > wrote: > > > > > > > I am trying to test ofbiz 10.04.02 and whenever I try to get a PDF > > > > document shown (e.g. an invoice etc) ofbiz. throws out of PermGen > space > > > > error. I have changed the PermSpace to be 1024m but it still fails. > > What > > > > may be causing it? The setup has only the demo data loaded running > > > against > > > > mysql database. > > > > > > > > > > > > > > > > -- > > > Mandeep Singh Sidhu > > > > > > > > > -- > Mandeep Singh Sidhu > |
In reply to this post by Parm Lehal
Hi Parm,
Please try with 1024M (not 1024m). Thanks & Regards -- Deepak Dixit HotWax Media Pvt. Ltd. www.hotwaxmedia.com Contact :- +91-98267-54548 Skype :- deepakdixit On Oct 5, 2012, at 12:36 AM, Parm Lehal wrote: > I am trying to test ofbiz 10.04.02 and whenever I try to get a PDF > document shown (e.g. an invoice etc) ofbiz. throws out of PermGen space > error. I have changed the PermSpace to be 1024m but it still fails. What > may be causing it? The setup has only the demo data loaded running against > mysql database. smime.p7s (6K) Download Attachment |
In reply to this post by Parm Lehal
https://cwiki.apache.org/OFBTECH/apache-ofbiz-technical-production-setup-guide.html#ApacheOFBizTechnicalProductionSetupGuide-MemorySettings
Thanks & Regards -- Deepak Dixit HotWax Media Pvt. Ltd. www.hotwaxmedia.com Contact :- +91-98267-54548 Skype :- deepakdixit On Oct 5, 2012, at 12:36 AM, Parm Lehal wrote: > I am trying to test ofbiz 10.04.02 and whenever I try to get a PDF > document shown (e.g. an invoice etc) ofbiz. throws out of PermGen space > error. I have changed the PermSpace to be 1024m but it still fails. What > may be causing it? The setup has only the demo data loaded running against > mysql database. smime.p7s (6K) Download Attachment |
I tried that too but it has no effect. Now the crash is just arbitrary. I
suspect that it is combination of java +linux that has fault somewhere. A few weeks ago I was using JDK 1.6.0_35 on Fedora 17 and it was crashing in seconds. I submitted a bug for that to Oracle ( *Bug ID:* 7200414- http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7200414 ). I thought it may be a combination of Hardware, Linux and java so I tried various combinations and went all the way back to Fedora 12 on a brand new HP desktop (HP pro -Intel I7+8G RAM) with JDK 1.6.0_25 64 bit and now I am facing this arbitrary out of PermGen Space. I wonder why .... Regards, Parminder Lehal On Thu, Oct 4, 2012 at 9:20 PM, Deepak Dixit <[hidden email]>wrote: > > https://cwiki.apache.org/OFBTECH/apache-ofbiz-technical-production-setup-guide.html#ApacheOFBizTechnicalProductionSetupGuide-MemorySettings > > > Thanks & Regards > -- > Deepak Dixit > HotWax Media Pvt. Ltd. > www.hotwaxmedia.com > Contact :- +91-98267-54548 > Skype :- deepakdixit > > On Oct 5, 2012, at 12:36 AM, Parm Lehal wrote: > > > I am trying to test ofbiz 10.04.02 and whenever I try to get a PDF > > document shown (e.g. an invoice etc) ofbiz. throws out of PermGen space > > error. I have changed the PermSpace to be 1024m but it still fails. What > > may be causing it? The setup has only the demo data loaded running > against > > mysql database. > > |
Can you post the error?
Also, are you sure that the user under which ofbiz runs OWNS the entire directory tree where ofbiz resides? For instance, if some directories are owned by root that would cause issues. On Fri, Oct 5, 2012 at 7:59 AM, Parm Lehal <[hidden email]> wrote: > I tried that too but it has no effect. Now the crash is just arbitrary. I > suspect that it is combination of java +linux that has fault somewhere. A > few weeks ago I was using JDK 1.6.0_35 on Fedora 17 and it was crashing in > seconds. I submitted a bug for that to Oracle ( *Bug ID:* 7200414- > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7200414 ). I thought it > may be a combination of Hardware, Linux and java so I tried various > combinations and went all the way back to Fedora 12 on a brand new HP > desktop (HP pro -Intel I7+8G RAM) with JDK 1.6.0_25 64 bit and now I am > facing this arbitrary out of PermGen Space. I wonder why .... > > Regards, > > Parminder Lehal > > > > On Thu, Oct 4, 2012 at 9:20 PM, Deepak Dixit > <[hidden email]>wrote: > > > > > > https://cwiki.apache.org/OFBTECH/apache-ofbiz-technical-production-setup-guide.html#ApacheOFBizTechnicalProductionSetupGuide-MemorySettings > > > > > > Thanks & Regards > > -- > > Deepak Dixit > > HotWax Media Pvt. Ltd. > > www.hotwaxmedia.com > > Contact :- +91-98267-54548 > > Skype :- deepakdixit > > > > On Oct 5, 2012, at 12:36 AM, Parm Lehal wrote: > > > > > I am trying to test ofbiz 10.04.02 and whenever I try to get a PDF > > > document shown (e.g. an invoice etc) ofbiz. throws out of PermGen space > > > error. I have changed the PermSpace to be 1024m but it still fails. > What > > > may be causing it? The setup has only the demo data loaded running > > against > > > mysql database. > > > > > |
In reply to this post by Parm Lehal
Just my 2 cents:
I suspect it has something to do with XML processing. Maybe XML parsing errors accumulating and taking up memory? Can't substantiate that claim, but I noticed that on one particular OFBiz implementation [10.x based] where XML is used in ways I've never seen before - this happens often. I work and test on a pretty robust set up (MAC Dual Core + 8 GBytes of memory) and under certain circumstances, when there are lots of errors being thrown in succession, I get the PermGen space error without fail - regardless of the settings. Best Regards, Ruth On 10/5/12 10:59 AM, Parm Lehal wrote: > I tried that too but it has no effect. Now the crash is just arbitrary. I > suspect that it is combination of java +linux that has fault somewhere. A > few weeks ago I was using JDK 1.6.0_35 on Fedora 17 and it was crashing in > seconds. I submitted a bug for that to Oracle ( *Bug ID:* 7200414- > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7200414 ). I thought it > may be a combination of Hardware, Linux and java so I tried various > combinations and went all the way back to Fedora 12 on a brand new HP > desktop (HP pro -Intel I7+8G RAM) with JDK 1.6.0_25 64 bit and now I am > facing this arbitrary out of PermGen Space. I wonder why .... > > Regards, > > Parminder Lehal > > > > On Thu, Oct 4, 2012 at 9:20 PM, Deepak Dixit > <[hidden email]>wrote: > >> https://cwiki.apache.org/OFBTECH/apache-ofbiz-technical-production-setup-guide.html#ApacheOFBizTechnicalProductionSetupGuide-MemorySettings >> >> >> Thanks & Regards >> -- >> Deepak Dixit >> HotWax Media Pvt. Ltd. >> www.hotwaxmedia.com >> Contact :- +91-98267-54548 >> Skype :- deepakdixit >> >> On Oct 5, 2012, at 12:36 AM, Parm Lehal wrote: >> >>> I am trying to test ofbiz 10.04.02 and whenever I try to get a PDF >>> document shown (e.g. an invoice etc) ofbiz. throws out of PermGen space >>> error. I have changed the PermSpace to be 1024m but it still fails. What >>> may be causing it? The setup has only the demo data loaded running >> against >>> mysql database. >> |
Administrator
|
In reply to this post by Parm Lehal
If you are not stuck to 10.04 why not trying with 11.04?
Jacques From: "Parm Lehal" <[hidden email]> >I am trying to test ofbiz 10.04.02 and whenever I try to get a PDF > document shown (e.g. an invoice etc) ofbiz. throws out of PermGen space > error. I have changed the PermSpace to be 1024m but it still fails. What > may be causing it? The setup has only the demo data loaded running against > mysql database. > |
I know I can try 12.04 or 11.04 but since 10.04 is the "most stable"
production version, I wanted to go with it and I need to know why it is behaving like this. This issue aside, I am really impressed by the level of community support in this mailing list. Regards, Parminder Lehal On Fri, Oct 5, 2012 at 10:14 AM, Jacques Le Roux < [hidden email]> wrote: > If you are not stuck to 10.04 why not trying with 11.04? > > Jacques > > From: "Parm Lehal" <[hidden email]> > > I am trying to test ofbiz 10.04.02 and whenever I try to get a PDF >> document shown (e.g. an invoice etc) ofbiz. throws out of PermGen space >> error. I have changed the PermSpace to be 1024m but it still fails. What >> may be causing it? The setup has only the demo data loaded running against >> mysql database. >> >> |
Administrator
|
There have been improvements regarding permgen use after 10.04... That's why I suggest that...
Jacques From: "Parm Lehal" <[hidden email]> >I know I can try 12.04 or 11.04 but since 10.04 is the "most stable" > production version, I wanted to go with it and I need to know why it is > behaving like this. This issue aside, I am really impressed by the level of > community support in this mailing list. > > Regards, > > Parminder Lehal > > > > > On Fri, Oct 5, 2012 at 10:14 AM, Jacques Le Roux < > [hidden email]> wrote: > >> If you are not stuck to 10.04 why not trying with 11.04? >> >> Jacques >> >> From: "Parm Lehal" <[hidden email]> >> >> I am trying to test ofbiz 10.04.02 and whenever I try to get a PDF >>> document shown (e.g. an invoice etc) ofbiz. throws out of PermGen space >>> error. I have changed the PermSpace to be 1024m but it still fails. What >>> may be causing it? The setup has only the demo data loaded running against >>> mysql database. >>> >>> > |
Thanks, I will use that.
On Fri, Oct 5, 2012 at 3:12 PM, Jacques Le Roux < [hidden email]> wrote: > There have been improvements regarding permgen use after 10.04... That's > why I suggest that... > > > Jacques > > From: "Parm Lehal" <[hidden email]> > >> I know I can try 12.04 or 11.04 but since 10.04 is the "most stable" >> production version, I wanted to go with it and I need to know why it is >> behaving like this. This issue aside, I am really impressed by the level >> of >> community support in this mailing list. >> >> Regards, >> >> Parminder Lehal >> >> >> >> >> On Fri, Oct 5, 2012 at 10:14 AM, Jacques Le Roux < >> [hidden email]> wrote: >> >> If you are not stuck to 10.04 why not trying with 11.04? >>> >>> Jacques >>> >>> From: "Parm Lehal" <[hidden email]> >>> >>> I am trying to test ofbiz 10.04.02 and whenever I try to get a PDF >>> >>>> document shown (e.g. an invoice etc) ofbiz. throws out of PermGen space >>>> error. I have changed the PermSpace to be 1024m but it still fails. What >>>> may be causing it? The setup has only the demo data loaded running >>>> against >>>> mysql database. >>>> >>>> >>>> >> |
Free forum by Nabble | Edit this page |