If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Sqlerrmc : Mon_heap_sz

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-20-11, 15:50
madhu_sushmi madhu_sushmi is offline
Registered User
 
Join Date: Apr 2011
Posts: 2
Sqlerrmc : Mon_heap_sz

Hi,

I have a Java Program which involves fetching of large volume of data from web service. If the volume of data is so high, I encountered out of memory error.
Error looked like

"Processing Dump Event "systhrow", detail "java/lang/OutOfMemoryError"

So I have set the maximum heap size as 256 MB. Then the program is not throwing out of memory error.

I do insert many records in DB2 table one by one. When the heap size was 256 MB, it throws SQLERRMC : mon_heap_sz from DB2 while inserting few records and few records are not getting inserted..

Please tell me some resolution for this problem. This is of high priority and I am not able to figure out the cause or solution.

Thanks in advance,
Madhu
Reply With Quote
  #2 (permalink)  
Old 04-20-11, 16:50
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Talk to your DBA.
Reply With Quote
  #3 (permalink)  
Old 04-20-11, 22:01
madhu_sushmi madhu_sushmi is offline
Registered User
 
Join Date: Apr 2011
Posts: 2
What is the reason for this.

I am inserting records one by one. then why is this Heap size not enough problem happening?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On