Thanks for your reply, Antoine.  Yes, I am having a problem.  I have
code that reads a couple of tables, and combines their contents into a
couple of objects (mostly Strings, with a few ints and Dates).  The
program uses a DAO I wrote that has been in production for months.  I've
written a reporting class that has a problem.  Uniformly, no matter how
I do it, as soon as I've built 28 of these objects (they represent
student biographical data), my program hangs, which is run from the
command line, using J2SE 1.5.  I get no error messages.  Since the DAO
is used by a servlet in production and many such objects are regularly
created, it is not the code per se that is at fault for the "hang," so I
am guessing that I have a memory constraint in the JVM that ant creates.
I was hoping that increasing the memory size would help, but what I have
coded has not affected the behavior.  Does the "maxmemory" value
determine how much memory the JVM uses to start, or how much it can
acquire later?  Thanks.


Ken



Hello Kenneth,

yes, your format looks good.

Do you have problems ?

Cheers,

Antoine


Kenneth Litwak wrote:

>Is this the correct format to increase the default memory for the JVM
>and to pass command line arguments? 
>
><java fork="true"
>                      dir="${basedir}"
>                                classname="${class}"
>                                maxmemory="718m"
>                >
>                        <classpath refid="project.classpath"/>
>                        <arg line="${args}"/>
>                        <jvmarg
>value="-Djava.library.path=${native.libdir}"/>
>                        <jvmarg
value="-Dcom.sun.management.jmxremote"/>
>                </java>
>
>Thanks.
>
>Ken
>
>
>
>
>
> Kenneth D. Litwak
>Software Engineer III
>IMT
>Azusa Pacific University
>901 E. Alosta
>Azusa, CA 91702
>  
>


---------------------------------------------------------------------
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]

Reply via email to