Read and understand this http://java.sun.com/docs/hotspot/VMOptions.html
by altering the configuration for your JVM_ARGS run java -Xrunhprof on a normally running Java App > out1.lst go to aberrant code java -Xrunhprof abberantApp > out2.lst Note the deltas between out1.lst and out2.lst on startup allocated mem, max memory allocated, stack allocation Always best to attenuate heap (-Xms and Xmx entries) in favour of stack (-Xss) allocations M- ********************************************************************* This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. ----- Original Message ----- From: "Laura Stewart" <[EMAIL PROTECTED]> To: "Ant Users List" <user@ant.apache.org> Sent: Thursday, July 27, 2006 1:32 PM Subject: Re: Proper location of build.xml file > Correction, the message is: > > BUILD FAILED > C:\Authoring\Derby\Derby1057\trunk\build.xml:72: The following error > occurred while executing this line: > C:\Authoring\Derby\Derby1057\trunk\build.xml:93: The following error > occurred while executing this line: > java.lang.OutOfMemoryError: Java heap space > > Total time: 56 seconds > C:\Authoring\Derby\Derby1057\trunk> > > > On 7/27/06, Laura Stewart <[EMAIL PROTECTED]> wrote: >> Thanks. The build runs now but fails. I get this message: >> >> BUILD FAILED >> C:\Authoring\Derby\Derby1057\trunk\build.xml >> ile executing this line: >> C:\Authoring\Derby\Derby1057\trunk\build.xml >> ile executing this line: >> java.lang.OutOfMemoryError: Java heap space >> >> Any suggestions? >> Laura >> >> >> On 7/27/06, Dominique Devienne <[EMAIL PROTECTED]> wrote: >> > the build is almost always at the top level of a project, in trunk in >> > your case. Ant looks for build.xml in the current dir. Use -f >> > path_to_build to find it in a different directory. --DD >> > >> > On 7/27/06, Laura Stewart <[EMAIL PROTECTED]> wrote: >> > > Hi - I am trying to work with ANT to generate output for Derby >> > > documentation. >> > > I have ANT installed in this path: >> > > >> > > C:\Authoring\Derby\apache-ant-1.6.5 >> > > >> > > When I run ant to build html output for the doc "ref" in a command >> > > window, I get a message indicating that build.xml does not exist. I >> > > presume that means that it is not in the proper path. Where should it >> > > be? Do I need to copy it into my src directory? >> > > >> > > C:\Authoring\Derby\Derby1057\trunk\src>ant html.ref >> > > Buildfile: build.xml does not exist! >> > > Build failed >> > > C:\Authoring\Derby\Derby1057\trunk\src> >> > > >> > > Thanks! >> > > >> > > -- >> > > Laura Stewart >> > > >> > > --------------------------------------------------------------------- >> > > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > > For additional commands, e-mail: [EMAIL PROTECTED] >> > > >> > > >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> >> >> -- >> Laura Stewart >> > > > -- > Laura Stewart > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >