12-15-2016 04:11 AM
Hi, I have faced a problem while reading a Comman Separated file(.CSV) using read spreadsheet function. Before reading the file, physical memory of the PC was 110MB. When i tried to read a file of size 200MB the physical memory of the PC increases to 2GB. After that I closed the VI but my physical memory doesn't get reduced to the previous one, untill I restart my LabVIEW.
PC Configuration:
I3, 4GB RAM, Windows 7 64bit & LabVIEW 2014 64bit.
Anyone faced this issue kindly help me to solve it. Thanks in advance..!
12-15-2016 04:35 AM
Hi guna,
LabVIEW uses it's own memory manager!
It will allocate memory from OS when it needs to - like when reading in a larger CSV file and converting the contained data.
And it will free the memory when it thinks it's a good idea/time to do so.
So what's your problem with having LabVIEW allocating some amount of memory?
12-15-2016 11:43 PM
Thanks GredW,
Actually reading the CSV file and populating the data is one part of my application. I used to read that data for my analysis. When I try to read two CSV files of same size(200MB), the physical memory goes upto 95% and my PC started hanging. Is there any alternate method to do this without PC hanging.
12-16-2016 02:05 AM
Hi guna,
- avoid data copies
- don't process the files in memory
- read only parts of those files to process the data
- use a bigger PC 😄
- use software dedicated to data analysis like DIADEM
- there are even more possibilities - but you need to provide more information on your exact problem…