spidertp Messages: 16 Registered: October 2007 Location: Poland
Promising Member
Hello everybody,
I need to work with big files (> 100MB) and I like to load part of them to memory in a thread, process data in main app and read next part if needed.
I have 2 tables.
At first I load both of them with 10MB of binary data (so it gives me 20MB in memory). First I proccess data from table1 and when index goes to table2, I'm starting a thread to load new data to table1 and so on. Basically, in main app I want to process data without interrupts due to harddisk access.
The problem is that I have a lot of exceptions because of defining tables with new operator and deleting them.