I am trying to read sqlite files in labview of 350 mb size in a computer having 3 gigs of ram and has windows xp.
I could read txt files of that size in this computer, even with a 2 gig ram. but, unable to open files of size larger than even 80 megs.
I run into out of memory problem. Is there any way I could read this kind of files.
The SQLite API is quite capable of reading 350MB plus files (I've just read a 450MB one). Your issue is probably to do with LabVIEW memory management.
If you are putting an indicator on the front panel. Don't.
LV Memory Memory Management 101:
File-size 456MB win 7 X64 LV x32
500 for the VI 0 wire junctions Requires 500 MB during and after execution.
500 MB for the VI, 500MB for the 1 wire junction, 500MB for the 1 indicator. Requires 1.5GB whilst executing (assuming it has already run once) and 1 GB after execution.
Add 1 more indicator and it will run out of memory. Why?....Because.....
500MB for the VI, 1GB for the 2 wire junctions, 1GB for the 2 indicators. Requires 2.5 GB whilst executing (assuming it has already run once) and 1.5 GB after execution.
Very approximate calculations, but I think you get the idea.
1. You need n x wire junctions more memory whilst running than you do with a static VI after execution
2. you need n x indicators memory to store the results.