Hello Everyone,
We are using XML reader to process large amount XML messages. We are receiving the error below, how do I resolve this issue?
/***********************************************
Application Internal Error - C:\winapps\vessel\xmlreader.exe
Terminated at: 2019-06-09 08:54:10
Unrecoverable error 9006: hb_xgrab can't allocate memory
Called from HBXML_DATAREAD(0)
Called from (b)TXMLDOCUMENT(0) in xhb\txml.prg
Called from TXMLDOCUMENT:READ(0) in xhb\txml.prg
Called from TXMLDOCUMENT:NEW(0) in xhb\txml.prg
Called from _STARTUP(133) in xmlreader.prg
Called from (b)MAIN(66) in xmlreader.prg
Called from TWINDOW:ACTIVATE(1034) in .\source\classes\WINDOW.PRG
Called from MAIN(66) in xmlreader.prg
XML read, memory allocation error
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: XML read, memory allocation error
Darrell,
In the loop, before the END, please place a call to SysRefresh() and another call to hb_gcAll()
In the loop, before the END, please place a call to SysRefresh() and another call to hb_gcAll()
- cdmmaui
- Posts: 653
- Joined: Fri Oct 28, 2005 9:53 am
- Location: The Woodlands - Dallas - Scottsdale - London
- Contact:
Re: XML read, memory allocation error
Dear Antonio,
Thank you! I hope you are well!
Thank you! I hope you are well!