- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Exception in thread "CompileThread0" java.lang.Out...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 01:29 PM
07-03-2002 01:29 PM
Exception in thread "CompileThread0" java.lang.OutOfMemoryError
I running my application over OC4J release 1 in HP UX and get the following error:
Exception in thread "CompileThread0" java.lang.OutOfMemoryError: requested 33554440 bytes
Possible causes:
- not enough swap space left, or
- kernel parameter MAXDSIZ is very small
My environment is:
java version "1.3.1.05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1.05-020425-12:07)
Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.05-JPSE_1.3.1.05_20020425 PA2.0, mixed mode)
OC4J 1.0.2.2.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 01:36 PM
07-03-2002 01:36 PM
Re: Exception in thread "CompileThread0" java.lang.OutOfMemoryError
Run these two commands and post the results and we can probably help.
1) sysdef
2) swapinfo -t
Also, how much physical memory is in this box?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2002 11:04 PM
07-07-2002 11:04 PM
Re: Exception in thread "CompileThread0" java.lang.OutOfMemoryError
Check the value of these kernel parameters too:
max_thread_proc and nkthread
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2002 11:23 PM
07-07-2002 11:23 PM
Re: Exception in thread "CompileThread0" java.lang.OutOfMemoryError
public class OutOfMemoryError
extends VirtualMachineError
Thrown when the Java Virtual Machine cannot allocate an object because it is out of memory, and no more memory could be made available by the garbage collector.
if you are on 11.x
Go to
http://www.hp.com/products1/unix/java/
get
HPjconfig is a Java configuration tool for tuning your HP-UX 11.0 or 11i PA-RISC or Itanium system kernel parameters to match the characteristics of your application. HPjconfig provides kernel parameter recommendations tailored to your Java enterprise services (Web server, Application Server, etc.) and HP-UX hardware platform.
HPjconfig is a pure Java Application that runs on the HP-UX SDK or JRE for the Java??? 2 Platform version 1.2.2 or later (for which HP-UX 11.00 or later is required).
All HP-UX PA-RISC and Itanium systems are currently supported.
Also
HPjtune is a tool that helps you analyze garbage collection performance by graphically displaying instrumentation data from the garbage collector.
This may be useful
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2002 02:35 AM
11-03-2002 02:35 AM
Re: Exception in thread "CompileThread0" java.lang.OutOfMemoryError
I have same problem.
If you soleve the problem,
Would you let me know it?
Thanks in advance.
My environment is
java version "1.3.1.05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1.05-020425-12:07)
Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.05-JPSE_1.3.1.05_20020425 PA2.0, mixed mode)
maxdsiz 2147483648
max_thread_proc 2048 nkthread 15226
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 08:47 AM
03-19-2003 08:47 AM
Re: Exception in thread "CompileThread0" java.lang.OutOfMemoryError
I have the same problem :
Exception in thread "CompileThread0" java.lang.OutOfMemoryError: requested 33554440 bytes
My environment is:
java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24)
Java HotSpot(TM) Server VM (build 1.3.1-b24, mixed mode)
Operating system : Windows 2002.
I would appreciate your help.
Thanks
IA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2003 07:06 AM
11-24-2003 07:06 AM
Re: Exception in thread "CompileThread0" java.lang.OutOfMemoryError
Exception in thread "CompileThread0" java.lang.OutOfMemoryError: requested 670728 bytes
This is with Dynamo Application Server from ATG. RP8400 with 12 750mhz and 20gb ram. Here's my output from sysdef and swapinfo -t:
ux27(root)/> sysdef
NAME VALUE BOOT MIN-MAX UNITS FLAGS
acctresume 4 - -100-100 -
acctsuspend 2 - -100-100 -
allocate_fs_swapmap 0 - - -
bufpages 312934 - 0- Pages -
create_fastlinks 0 - - -
dbc_max_pct 5 - - -
dbc_min_pct 5 - - -
default_disk_ir 0 - - -
dskless_node 0 - 0-1 -
eisa_io_estimate 768 - - -
eqmemsize 110 - - -
file_pad 10 - 0- -
fs_async 0 - 0-1 -
hpux_aes_override 0 - - -
maxdsiz 524288 - 0-503866 Pages -
maxdsiz_64bit 524288 - 1024-1073479679 Pages -
maxfiles 4096 - 30-2048 -
maxfiles_lim 4096 - 30-2048 -
maxssiz 98048 - 0-98048 Pages -
maxssiz_64bit 262144 - 4-262144 Pages -
maxswapchunks 16384 - 1-16384 -
maxtsiz 131072 - 0-503859 Pages -
maxtsiz_64bit 262144 - 1024-1073741823 Pages -
maxuprc 4096 - 3- -
maxvgs 256 - - -
msgmap 4115 - 3- -
nbuf 175746 - 0- -
ncallout 30016 - 6- -
ncdnode 150 - - -
ndilbuffers 30 - 1- -
netisr_priority -1 - -1-127 -
netmemmax 0 - - -
nfile 63798 - 14- -
nflocks 4116 - 2- -
ninode 34976 - 14- -
no_lvm_disks 0 - - -
nproc 4116 - 10- -
npty 500 - 1- -
nstrpty 250 - - -
nswapdev 10 - 1-25 -
nswapfs 10 - 1-25 -
public_shlibs 1 - - -
remote_nfs_swap 0 - - -
rtsched_numpri 32 - - -
sema 0 - 0-1 -
semmap 4114 - 4- -
shmem 0 - 0-1 -
shmmni 1600 - 3-1024 -
streampipes 0 - 0- -
swapmem_on 1 - - -
swchunk 4096 - 2048-16384 kBytes -
timeslice 10 - -1-2147483648 Ticks -
unlockable_mem 16664 - 0- Pages -
ux27(root)/> swapinfo -t
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4194304 0 4194304 0% 0 - 1 /dev/vg00/lvol2
dev 4194304 0 4194304 0% 0 - 1 /dev/vg00/swap2
dev 25165824 0 25165824 0% 0 - 0 /dev/vg01/devswap2
reserve - 14186056 -14186056
memory 19317204 986224 18330980 5%
total 52871636 15172280 37699356 29% - 0 -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 02:55 AM
12-17-2003 02:55 AM
Re: Exception in thread "CompileThread0" java.lang.OutOfMemoryError
Make those bigger (like 2G or so) and try again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 03:00 AM
12-17-2003 03:00 AM
Re: Exception in thread "CompileThread0" java.lang.OutOfMemoryError
maxdsiz 0x80000000 - 0X80000000
maxdsiz_64bit 0x80000000 - 0X80000000
maxfiles 4096 - 4096
maxfiles_lim 4096 Y 4096
maxqueuetime - - 0
maxssiz 401604608 - 401604608
maxssiz_64bit 1073741824 - 1073741824
maxswapchunks 16384 - 16384
maxtsiz 0x20000000 Y 0X20000000
maxtsiz_64bit 0x40000000 Y 0X40000000
which works out to 2gb for maxdsiz.
So why does sysdef show less, or do I not know how to interpret it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 03:03 AM
12-17-2003 03:03 AM
Re: Exception in thread "CompileThread0" java.lang.OutOfMemoryError
check java heap sizes. If they are very high, lower them a bit and try.
Also kernel parameters--
Increase them.
max_thread_proc and nkthread