Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » ejbdoclet out-of-memory
ejbdoclet out-of-memory [message #184474] Tue, 12 December 2006 09:33 Go to next message
Ulf Gohde is currently offline Ulf Gohde
Messages: 10
Registered: July 2009
Junior Member
I am trying to convert my J2EE application to WTP but xdoclet is running
out-of-memory. Increasing the heapsize and MaxPermSize has no effect.
I was using the JBoss plugin so far. That plugin is generating an ant script
to run xdoclet. That way I could simply run the ant script from "external
tools" in a separate VM and assign as much memory as I wanted.
Any way to do that in WTP?

/ulf
Re: ejbdoclet out-of-memory [message #184483 is a reply to message #184474] Tue, 12 December 2006 10:13 Go to previous messageGo to next message
Ulf Gohde is currently offline Ulf Gohde
Messages: 10
Registered: July 2009
Junior Member
just noticed that xdoclet is executed in a separate VM anyway. Is there any
way to define the memory for that vm?


"Ulf Gohde" <ulf.gohde@banctec.co.uk> wrote in message
news:elmed5$udj$1@utils.eclipse.org...
>I am trying to convert my J2EE application to WTP but xdoclet is running
>out-of-memory. Increasing the heapsize and MaxPermSize has no effect.
> I was using the JBoss plugin so far. That plugin is generating an ant
> script to run xdoclet. That way I could simply run the ant script from
> "external tools" in a separate VM and assign as much memory as I wanted.
> Any way to do that in WTP?
>
> /ulf
>
Re: ejbdoclet out-of-memory [message #184490 is a reply to message #184483] Tue, 12 December 2006 10:26 Go to previous message
Ulf Gohde is currently offline Ulf Gohde
Messages: 10
Registered: July 2009
Junior Member
I found a workaround. It works when I execute
<workspacedir> \.metadata\.plugins\org.eclipse.jst.j2ee.ejb.annotations.xdo clet\tempAnt.xml
from "external tools" in a separate VM and assigning memory via -Xmx to that
VM

"Ulf Gohde" <ulf.gohde@banctec.co.uk> wrote in message
news:elmgoj$ho5$1@utils.eclipse.org...
> just noticed that xdoclet is executed in a separate VM anyway. Is there
> any way to define the memory for that vm?
>
>
> "Ulf Gohde" <ulf.gohde@banctec.co.uk> wrote in message
> news:elmed5$udj$1@utils.eclipse.org...
>>I am trying to convert my J2EE application to WTP but xdoclet is running
>>out-of-memory. Increasing the heapsize and MaxPermSize has no effect.
>> I was using the JBoss plugin so far. That plugin is generating an ant
>> script to run xdoclet. That way I could simply run the ant script from
>> "external tools" in a separate VM and assign as much memory as I wanted.
>> Any way to do that in WTP?
>>
>> /ulf
>>
>
>
Previous Topic:Has anyone successfully deployed a WTP ear to Weblogic 8.1?
Next Topic:xmlns in xhtml document
Goto Forum:
  


Current Time: Mon Jul 28 02:21:10 EDT 2014

Powered by FUDForum. Page generated in 0.03200 seconds