BeerFizz
Technical User
- Jan 23, 2004
- 28
I am reading records from a very large file. Approx 15 MB.
I am using "new" to allocate memory for the structure each time I read a record. I test for null.
This works for a smaller file, in the 1MB range. But when I tried with a larger file, it appeared to hang (loop), or something.
Am I runing out of heap space? Is there away to allocate more memory/heap? Is there a different way of doing this all together?
Thanks
phil
I am using "new" to allocate memory for the structure each time I read a record. I test for null.
This works for a smaller file, in the 1MB range. But when I tried with a larger file, it appeared to hang (loop), or something.
Am I runing out of heap space? Is there away to allocate more memory/heap? Is there a different way of doing this all together?
Thanks
phil