Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Not Enough memory

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello

I was running one of the job on a tomcat instance and in the middle it failed throwing the following exception. After this the instance restarted itself.
*** ERROR: Not enough memory. Cannot continue.
This is the situation:
* Heaps *
Net arc vectors: 12664 bytes, 4410 in use, 5292 total (65447K)
Apply_T out_cells: 8 bytes, 0 in use, 2048 total (0K)
Apply_T configs: 16 bytes, 0 in use, 1024 total (0K)
Net arc vectors: 12660 bytes, 54 in use, 54 total (667K)
Net arc vectors: 12420 bytes, 55 in use, 55 total (667K)
Net arc vectors: 12420 bytes, 57 in use, 57 total (691K)
Net arc vectors: 7904 bytes, 3 in use, 3 total (23K)
Net arc vectors: 7956 bytes, 2 in use, 2 total (15K)
Net arc vectors: 708 bytes, 3372 in use, 3376 total (2334K)
Apply_T out_cells: 8 bytes, 0 in use, 2048 total (16K)
Apply_T configs: 16 bytes, 0 in use, 1024 total (16K)
Net arc vectors: 10440 bytes, 55 in use, 55 total (560K)
Net arc vectors: 11072 bytes, 348 in use, 348 total (3762K)
Net arc vectors: 10504 bytes, 380 in use, 380 total (3898K)
Net arc vectors: 8104 bytes, 3 in use, 3 total (23K)
Net arc vectors: 8104 bytes, 2 in use, 2 total (15K)
Net arc vectors: 5292 bytes, 3951 in use, 3952 total (20423K)
Apply_T out_cells: 8 bytes, 0 in use, 2048 total (16K)
Apply_T configs: 16 bytes, 0 in use, 1024 total (16K)
Net arc vectors: 9504 bytes, 37 in use, 37 total (343K)
Net arc vectors: 9536 bytes, 491 in use, 491 total (4572K)
Net arc vectors: 9536 bytes, 496 in use, 496 total (4619K)
Net arc vectors: 8104 bytes, 3 in use, 3 total (23K)
Net arc vectors: 8104 bytes, 2 in use, 2 total (15K)
Label vectors: 8192 bytes, 12 in use, 16 total (128K)
Net arc vectors: 5292 bytes, 3717 in use, 3720 total (19224K)
Apply_T out_cells: 8 bytes, 0 in use, 2048 total (16K)
Apply_T configs: 16 bytes, 0 in use, 1024 total (16K)
Net arc vectors: 8084 bytes, 357 in use, 357 total (2818K)
Net arc vectors: 7976 bytes, 1 in use, 1 total (7K)
Net arc vectors: 7956 bytes, 5 in use, 5 total (38K)
Net arc vectors: 7956 bytes, 3 in use, 3 total (23K)
Net arc vectors: 7880 bytes, 184 in use, 184 total (1416K)
Net arc vectors: 7880 bytes, 183 in use, 183 total (1408K)
Net arc vectors: 7880 bytes, 184 in use, 184 total (1416K)
Label vectors: 2048 bytes, 9 in use, 16 total (32K)
Net arc vectors: 5292 bytes, 2388 in use, 2392 total (12361K)
Apply_T out_cells: 8 bytes, 0 in use, 2048 total (16K)
Apply_T configs: 16 bytes, 0 in use, 1024 total (16K)
Net arc vectors: 5304 bytes, 22 in use, 22 total (114K)
Net arc vectors: 5256 bytes, 163 in use, 163 total (836K)
Label vectors: 64 bytes, 5 in use, 8 total (0K)
Label vectors: 32 bytes, 21 in use, 24 total (0K)
Net arc vectors: 5264 bytes, 185 in use, 185 total (951K)
Net arc vectors: 864 bytes, 3 in use, 3 total (2K)
Net arc vectors: 860 bytes, 2 in use, 2 total (1K)
Label vectors: 4096 bytes, 25 in use, 32 total (128K)
Label vectors: 1024 bytes, 3 in use, 8 total (8K)
Label vectors: 256 bytes, 7 in use, 8 total (2K)
Label vectors: 16 bytes, 4087 in use, 4088 total (67K)
Label vectors: 8 bytes, 13367 in use, 13368 total (117K)
Net arc vectors: 708 bytes, 3352 in use, 3360 total (2323K)
Arc vectors: 20 bytes, 24471 in use, 24570 total (480K)
Apply_T out_cells: 8 bytes, 0 in use, 2048 total (16K)
Apply_T configs: 16 bytes, 0 in use, 1024 total (16K)
Label vectors: 512 bytes, 24 in use, 32 total (16K)
Parse table: 12 bytes, 31 in use, 40 total (0K)
Parse table nodes: 8 bytes, 4190 in use, 4191 total (33K)
Parse table vectors: 1024 bytes, 705 in use, 705 total (706K)
Names: 12 bytes, 36 in use, 101 total (1K)
Value names: 12 bytes, 9 in use, 257 total (3K)
Attribute names: 12 bytes, 6 in use, 257 total (3K)
Symbol names: 12 bytes, 3166 in use, 3341 total (39K)
Arcs: 16 bytes, 1673287 in use, 1720320 total (26886K)
States: 16 bytes, 1002751 in use, 1003520 total (15683K)
Alphabets: 16 bytes, 17560 in use, 18432 total (288K)
Networks: 96 bytes, 38 in use, 170 total (16K)
======================================================================
Total: 195854 Kbytes.
Total 200555484 bytes in use.
JVM exited unexpectedly.
Launching a JVM...
-XX:+ManagementServer -XX:MaxHeapSize=1468006400 -XX:+PrintCommandLineFlags -XX:+PrintGC -XX:+TraceClassUnloading
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.



The server status shows the following .

JVM
Free memory: 252.35 MB Total memory: 1384.50 MB Max memory: 1384.50 MB

http-8222
Max threads: 150 Min spare threads: 25 Max spare threads: 75 Current thread count: 25 Current thread busy: 2
Max processing time: 26923 ms Processing time: 74.283 s Request count: 211 Error count: 3 Bytes received: 0.22 MB Bytes sent: 1.65 MB

The free memory keeps on decreasing as the job runs
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!