03-26-2007 03:22 PM
Hello,
I’m getting the following message:
FATAL ERROR (aborting debug session):
Unable to allocate system resource
I’m running an executable that loads a dll. I developed the code as a single application and then split off the code in the dll. The problem only started after I created the dll, and it only occurs after the dll is loaded. I ran the application many times before creating the dll, and never saw this. The application is running in a 1-second timer loop monitoring an instrument (query & response using viWrite4 & viRead). The application will run for ~1.5 minutes after the dll is loaded before I get the message.
I found one previous thread about this ( http://forums.ni.com/ni/board/message?board.id=180&message.id=20975#M20975 ) but the suggestions given there haven’t helped so far:
I traced through my code and so far haven’t found where anything is being allocated anywhere in the monitoring loop. I’m working on isolating the problem, but in the mean-time, has anyone else seen the above error message and solved this problem? The above is the entire error message; no other details are given.
Thanks for any help or suggestions!
JoeN
03-27-2007 10:19 AM
03-27-2007 08:19 PM