Hi, I had similar observations on one of my test systems and it seams that during garbage collection, although -mx was used to set a limit, up to 3 times the amount of storage was being used for a short period of time, causing out of memory conditions. One other observation we had was that with REGION=0M actually less storage was used than using e.g. REGION=392M. I don't have the knowledge to explain that, but maybe someone on the list has.
Denis. -----Original Message----- From: Arthur Brack <[EMAIL PROTECTED]> To: [email protected] Sent: Tue, 18 Nov 2008 7:23 pm Subject: Storage usage of Java-Applications Hello everybody, I have a Java-Application running in JCL that reads and writes datasets in several threads using the JZOS library. The REGION Parameter of the step is set to 256M and the Java-GC-Heap is limitted with -Xmx to 200M. However, the application abends in some assembler routines while closing files due to an out-of-storage error (GETMAIN). If I limit the Java-GC-Heap to 180M and keep the REGION size, everything works fine. Then I have analyzed the java-application with RMFMON and IBM Application Performance Analyzer, and I could find out, that only about 150M real storage is used and no paging occured. But why do I get out-of-storage-errors, although I have a REGION size with 256M? Who is using the remaining 106M storage of the region?? Thanks in advance! Arthur Brack ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

