how to increase memory available
I have a program which runs out of memory under the IDE (windows 7). It runs fine outside of the IDE on the same machine. The memory usage of the machine when the program is running outside of the IDE doesn't go past 2G (of 16G). I searched around this site and the help system and found references to increasing the heap size but no directions about how to do that. What controls are available and how do I get to them?
Please sign in to leave a comment.
Hello Michael,
Programs that you start from within the IDE run in a separate process, so
increaing the heap size of the IDE itself will not affect the size of the
memory available to your program. In general, there should be very little
difference in the available memory regardless of whether you run the process
from an IDE or from the command line.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
This python program is using sqlalchemy talking to a MS SQL database. Very early in execution when doing a select I get an error from sqla saying "(ProgrammingError) ('42000', [42000] [Microsoft][ODBC SQL Server Driver][SQL Server]There is insufficient system memory in resource pool 'internal' to run this query. (701) (SQLExecDirectW)". In starting a program is there something you do that effects memory it has access to? I know very little about windows memory allocation so maybe this is a silly question, but do you need to give things you start up their own resource pool?
Doing a little searching this appears to map to a MS SQL problem (982854) except that I'm running that patch level and it only happens when I run this exact same code from the IDE so think that might be a red herring.
Hello Michael,
The only thing that I can suggest to check is to click on the "Environment
variables" button in the run configuration settings and to make sure
that "Include parent environment variables" checkbox is checked.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Thank you for the response. The problem just disappeared. I hate heisenbugs. In any case, if the problem appears again I'll do some more investigation.