LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Total and Free RAM size (Win 7 - 64bit)

Hi people,

 

I'm using LV2009, and i compiled an .exe under Win7 32bit in order to have the TotalSize and the FreeSize of the RAM.

 

I putted GetMemoryStatusEx and i run this .exe under an other PC with Win7 64bit and 8Gb RAM memory.

 

The problem is that the ToalSize of RAM in this application is shown as 0 GB 😕 same thing for the FreeSizeRAM = 0 Gb.

 

And when i change the GetMemoryStatusEx to GetMemoryStatus, i see TotalSize = 4Gb and the FreeSize = 4Gb too !! 😕

 

Can you advise please.

 

0 Kudos
Message 1 of 4
(2,502 Views)

Hi Blue_Strike,

 

According to this KnowledgeBase article, 32-bit LabVIEW can only use up to 4 GB of memory on a 64-bit Windows 7 system.

0 Kudos
Message 2 of 4
(2,472 Views)

Hi,

 

Well, I will not "use" the labview memory. Labview 32bit can't use over 4Go of memory. it's the same thing for all application 32bits.

 

In fact, I want just you Windows 64bit API to got information about the OS memory occupation. so, 'i should use the API supported by the OS 64 bit, no problem with that i guess.

 

My problem is that I couldn't do it 😕

 

0 Kudos
Message 3 of 4
(2,466 Views)

I was able to find this forum post which discusses this issue. You may find it useful.

0 Kudos
Message 4 of 4
(2,434 Views)