Re: Java -Xmx not working

2007-05-10 Thread Chris Bowditch

villejck wrote:

I am attempting to process a large XML file that is greater than 2.5megs, but
I am getting a Java Heap Space error. I tried increasing my Java memory
allocation with the following command:

Java -Xms128m -Xmx256m

I tried different memory settings, but I notice from the task manager in
Windows that the memory used by FOP is still around 95,000K which seems to
be the default. The Java -Xmx command does not seem to be increasing the
memory allocation. I typed the Java command in ms-dos and inserted the
command into fop.bat, but there is no change in the memory allocation. The
Java memory is always capped at about 95,000K (95megs). Can anyone please
provide some input into this? Thank you!


You mention MS-DOS, so I guess you must using Windows. What version of 
Windows are you using and what JDK version? Also, what version of FOP 
are you using?


Thanks,

Chris





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Java -Xmx not working

2007-05-10 Thread villejck

Thanks Chris for the response! Here are my specs:

Microsoft Vista  Windows Server 2003
JDK 6
FOP 0.93

Thanks,
Jack


cbowditch wrote:
 
 villejck wrote:
 I am attempting to process a large XML file that is greater than 2.5megs,
 but
 I am getting a Java Heap Space error. I tried increasing my Java memory
 allocation with the following command:
 
 Java -Xms128m -Xmx256m
 
 I tried different memory settings, but I notice from the task manager in
 Windows that the memory used by FOP is still around 95,000K which seems
 to
 be the default. The Java -Xmx command does not seem to be increasing
 the
 memory allocation. I typed the Java command in ms-dos and inserted the
 command into fop.bat, but there is no change in the memory allocation.
 The
 Java memory is always capped at about 95,000K (95megs). Can anyone please
 provide some input into this? Thank you!
 
 You mention MS-DOS, so I guess you must using Windows. What version of 
 Windows are you using and what JDK version? Also, what version of FOP 
 are you using?
 
 Thanks,
 
 Chris
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Java--Xmx-not-working-tf3717663.html#a10417369
Sent from the FOP - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Java -Xmx not working

2007-05-09 Thread villejck

I am attempting to process a large XML file that is greater than 2.5megs, but
I am getting a Java Heap Space error. I tried increasing my Java memory
allocation with the following command:

Java -Xms128m -Xmx256m

I tried different memory settings, but I notice from the task manager in
Windows that the memory used by FOP is still around 95,000K which seems to
be the default. The Java -Xmx command does not seem to be increasing the
memory allocation. I typed the Java command in ms-dos and inserted the
command into fop.bat, but there is no change in the memory allocation. The
Java memory is always capped at about 95,000K (95megs). Can anyone please
provide some input into this? Thank you!
-- 
View this message in context: 
http://www.nabble.com/Java--Xmx-not-working-tf3717663.html#a10400619
Sent from the FOP - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]