If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Generated EXE get to 100% CPU after close
7 posts
• Page 1 of 1
Generated EXE get to 100% CPU after close
Hello!
What could be done, if an exe does not close in background and if it just eats up 100% cpu on a single core after closing it?
EXE was in fullscreen and got exit by the primitive.
Regards
C.Hackl
What could be done, if an exe does not close in background and if it just eats up 100% cpu on a single core after closing it?
EXE was in fullscreen and got exit by the primitive.
Regards
C.Hackl
100% accuracy is the guarantee to your success. The value alters if you combine it with musical creativity.
-
chackl - Posts: 233
- Joined: Tue Aug 17, 2010 8:46 pm
- Location: Austria / Salzburg
Re: Generated EXE get to 100% CPU after close
I remember there was a discussion here on ruby and overload with amount of ruby modules. But if this is exe fullscreen only - I guess this isn't it.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Feel free to donate. Thank you for your contribution.
- tester
- Posts: 1786
- Joined: Wed Jan 18, 2012 10:52 pm
- Location: Poland, internet
Re: Generated EXE get to 100% CPU after close
Oha... there a realy LOADS of very BIG ruby modues inside
The fsm measures about 3MB, the uncompressed EXE about 10mb and there is about 90% ruby inside :/
An the Ruby code inside is timer-based so it is executed about 10 times each second. The Exe needs about 20% CPU on a 2,1 GHZ dual core here.
An no i checked it now - it is not a fullscreen issue.
Is taskkill the only way to get this for the moment?
The fsm measures about 3MB, the uncompressed EXE about 10mb and there is about 90% ruby inside :/
An the Ruby code inside is timer-based so it is executed about 10 times each second. The Exe needs about 20% CPU on a 2,1 GHZ dual core here.
An no i checked it now - it is not a fullscreen issue.
Is taskkill the only way to get this for the moment?
100% accuracy is the guarantee to your success. The value alters if you combine it with musical creativity.
-
chackl - Posts: 233
- Joined: Tue Aug 17, 2010 8:46 pm
- Location: Austria / Salzburg
Re: Generated EXE get to 100% CPU after close
hard to know without more info.
I will say things at random:
You have open connections?
save some files when closing the app?
tried to stop the ruby garbage collect before closing the app?
I will say things at random:
You have open connections?
save some files when closing the app?
tried to stop the ruby garbage collect before closing the app?
- Tronic
- Posts: 539
- Joined: Wed Dec 21, 2011 12:59 pm
Re: Generated EXE get to 100% CPU after close
Tronic wrote:hard to know without more info.
I will say things at random:
You have open connections?
save some files when closing the app?
tried to stop the ruby garbage collect before closing the app?
Everything is stopped before exit - the exit comes with a timer after stop after 500ms.
There are no files saved and i also tried to reset the ruby objects.
But it randomly does not exit
regards
100% accuracy is the guarantee to your success. The value alters if you combine it with musical creativity.
-
chackl - Posts: 233
- Joined: Tue Aug 17, 2010 8:46 pm
- Location: Austria / Salzburg
Re: Generated EXE get to 100% CPU after close
what you mean with
try to disable the ruby garbage collector with the ruby code command:
GC.disable
and also you can utilize the primitive
[ About to Close ]
to send the trig to the primitive
[ Exe Quit ]
when all is done before to quit.
i also tried to reset the ruby objects.
try to disable the ruby garbage collector with the ruby code command:
GC.disable
and also you can utilize the primitive
[ About to Close ]
to send the trig to the primitive
[ Exe Quit ]
when all is done before to quit.
- Tronic
- Posts: 539
- Joined: Wed Dec 21, 2011 12:59 pm
7 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 64 guests