Support

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

For general discussion related FlowStone

Generated EXE get to 100% CPU after close

Postby chackl » Tue Mar 25, 2014 8:14 am

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
100% accuracy is the guarantee to your success. The value alters if you combine it with musical creativity.
User avatar
chackl
 
Posts: 233
Joined: Tue Aug 17, 2010 8:46 pm
Location: Austria / Salzburg

Re: Generated EXE get to 100% CPU after close

Postby Tronic » Tue Mar 25, 2014 8:55 am

taskkill info link

file bat with this line

taskkill /f /fi "status eq not responding"
Tronic
 
Posts: 539
Joined: Wed Dec 21, 2011 12:59 pm

Re: Generated EXE get to 100% CPU after close

Postby tester » Tue Mar 25, 2014 11:37 am

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.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: Generated EXE get to 100% CPU after close

Postby chackl » Tue Mar 25, 2014 12:48 pm

Oha... there a realy LOADS of very BIG ruby modues inside :shock:
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.
User avatar
chackl
 
Posts: 233
Joined: Tue Aug 17, 2010 8:46 pm
Location: Austria / Salzburg

Re: Generated EXE get to 100% CPU after close

Postby Tronic » Tue Mar 25, 2014 2:17 pm

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?
Tronic
 
Posts: 539
Joined: Wed Dec 21, 2011 12:59 pm

Re: Generated EXE get to 100% CPU after close

Postby chackl » Tue Mar 25, 2014 2:31 pm

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.
User avatar
chackl
 
Posts: 233
Joined: Tue Aug 17, 2010 8:46 pm
Location: Austria / Salzburg

Re: Generated EXE get to 100% CPU after close

Postby Tronic » Thu Mar 27, 2014 9:28 am

what you mean with
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


Return to General

Who is online

Users browsing this forum: Google [Bot] and 65 guests

cron