256M sounds pretty low -- we've had to use 640M to get our project to build
successfully.

anders

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Clifton C.
Craig
Sent: Friday, April 16, 2004 11:30 AM
To: [EMAIL PROTECTED]
Subject: [Xdoclet-user] Is there a max/optimal size for EJB source files?

Hello all,

I'm having terrible trouble with the memory requirements of 
XDoclet/XJavaDoc. My project includes some pretty big Java source files 
and a lot of them. Now when running XDoclet over my entire source tree I 
get out of memory errors. Mind you, I have ANT_OPTS set to 256M. I have 
since reduced the work for XDoclet coding my build to push the entity 
beans through 1st and then the session beans. Now I'm getting out of 
memory errors when I run the session beans through but not when I push 
the entity beans through. The conclusion I've arrived at is that there 
must be a problem with the size of one of my session beans. Why do I say 
that? Because overall there are many more entity beans and the combined 
source of the entity beans is more than the combined source of the 
session beans. So now I ask is there a preferred maximum or optimal size 
for source operated on by XDoclet? Are there any tunable properties that 
will allow it to process larger files without the need to up the JVM 
heap? I'm really trying to wrap up this last part of my project. Please 
help if you can.

-- 
Clifton C. Craig, Software Engineer
Intelligent Computer Systems -  A Division of GBG
2101 Embassy Drive
Lancaster, PA  17603

Phone:  717-295-7977 ext. 621
Fax:  717-295-7683
[EMAIL PROTECTED]
[EMAIL PROTECTED] 



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to