I bought the Sapien Suite last week and I'm using Primalscript 2012 for developing Powershellscripts.
I think I have the same problem as described here: http://sapien.com/forums/viewtopic.php? ... ory#p31940
My script is generally a long script (about 1500 lines of code containing database access (ADO.Net), some include files, etc.
Certainly not a short and simple code, but therefore I bought Sapien.
Unfortunately sometimes I get an "Out of Memory" error and the only thing I can do is to kill Primalscript using the Taskmanager. I have then to lose all my unsaved work by killing and restarting the script.
I use Win7/ 64 bit with 8 GB Ram.
Powershell_ise V3.0 has not this error
I cannot tell you, if PowershellStudio has the same behaviour.
Best regards from Munich
Kai
Primalscript goes "Out of memory"
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
Re: Primalscript goes "Out of memory"
Can you tie this to a specific operation or specific location?
Can you please be very specific if the message says "Out of Memory" or "No Memory Exception"?
"Out of Memory" is a system message and the latter is an editing engine message. Locating the cause of this really very much depends on which one of these you see.
Can you please be very specific if the message says "Out of Memory" or "No Memory Exception"?
"Out of Memory" is a system message and the latter is an editing engine message. Locating the cause of this really very much depends on which one of these you see.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: Primalscript goes "Out of memory"
Hello,
I use Primalscript in German and the error is "Nicht genügend Speicher", see attached file. I assume it's "Out of Memory" in English.
The error is not reproducible unfortunately. I assume it occures often if I use Primalscript longer than about one hour
Even if I leave my computer with opened Primalscript. If I come back, change to the open primalscript-session .. the errormessage appears without running my script.
But it has just happened: I opened a new-started Primalscriptsession, used a Breakpoint, ran the script in debug mode and .. end with the memory message above.
I cannot see a rule which produces it.
I'm getting this error about more than 5 times a day.
Thanks for your help
Greetings Kai
I use Primalscript in German and the error is "Nicht genügend Speicher", see attached file. I assume it's "Out of Memory" in English.
The error is not reproducible unfortunately. I assume it occures often if I use Primalscript longer than about one hour
Even if I leave my computer with opened Primalscript. If I come back, change to the open primalscript-session .. the errormessage appears without running my script.
But it has just happened: I opened a new-started Primalscriptsession, used a Breakpoint, ran the script in debug mode and .. end with the memory message above.
I cannot see a rule which produces it.
I'm getting this error about more than 5 times a day.
Thanks for your help
Greetings Kai
- Attachments
-
- snippet of my taskmanager while error has occoured
- Primal-taskmanager.jpg (68.35 KiB) Viewed 6017 times
-
- german errormessage
- PrimalError.jpg (7.13 KiB) Viewed 6017 times
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
Re: Primalscript goes "Out of memory"
Ok, so it's a system error message.
If it happens while it just sits there it is something that happened automatically and periodically, like the parser.
The process display indicates nothing out of the ordinary.
Would it be possible for you to email that particular file (zipped) to support@sapien.com?
We'll load it up and let it sit there and see what happens.
If it happens while it just sits there it is something that happened automatically and periodically, like the parser.
The process display indicates nothing out of the ordinary.
Would it be possible for you to email that particular file (zipped) to support@sapien.com?
We'll load it up and let it sit there and see what happens.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.