Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Reads from GPIB-ENET Causing a Memory Leak

Hardware: GPIB>>External Controllers/Convertors>>GPIB-ENET

Problem:
In Windows 95, the GPIB and VISA reads from a GPIB-ENET are filling up memory on my computer. My LabVIEW program is working fine until free memory is filled, and then the swapfile (Win386.swp) size increases until it fills the hard drive and crashes the system. What is causing this?

Solution:
Each GPIB (or VISA) Read is being written to memory and thus increasing the size of the swapfile. There is a Windows 95 specific bug in the networking stack (wsock32.dll) causing a memory leak in the connection setup or tear-down. Installing Microsoft's Windows Sockets 2 for Windows 95 from Microsoft's Web site should fix the problem.

Related Links:
support.microsoft.com

Attachments:





Report Date: 07/24/2000
Last Updated: 03/23/2007
Document ID: 1ZNAGR8V

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit