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

Turning off "Excessive processing detected" possible ?

For general discussion related FlowStone

Turning off "Excessive processing detected" possible ?

Postby mccy » Sat Feb 16, 2013 9:24 pm

Is it possible to turn of the "Excessive processing detected" effect, that it turns of all ruby?

I have no bad loop inside my tx2sfz converter, but indeed excessive processing when translating big programs(maybe because of my low programming skills I do some things rather complicated), so when about 300 samplegroups in a Tx16Wx file are analyzed the program quits... but it would finish, if it had more time, am I right? Just reducing samples in Tx16Wx makes it possible again. I managed to load some bigger files when turning of some scannings in the converter, but I'd like to turn off that safety mode, because it shouldn't be dangerous to give the cpu some food...??!! Or is it!?
mccy
 
Posts: 69
Joined: Sun Feb 27, 2011 3:20 pm

Re: Turning off "Excessive processing detected" possible ?

Postby nix » Sat Feb 16, 2013 9:59 pm

I'd like this option too.
It could be on by default,
but a checkbox in options would be cool.
I always watch my processors in task manger,
so I can manage the consumption manually.
User avatar
nix
 
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am

Re: Turning off "Excessive processing detected" possible ?

Postby trogluddite » Sun Feb 17, 2013 12:51 pm

+1
Maybe an option to set our own 'time out' duration, so we can 'balance' the protection to what we need.
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
User avatar
trogluddite
 
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: Turning off "Excessive processing detected" possible ?

Postby Jay » Sun Feb 17, 2013 1:01 pm

+1

even if there was a way of having it not shut down every ruby module in a schematic just because of one you are working on! its a pain in the ass having to restart all the ruby components again!
Jay
 
Posts: 276
Joined: Tue Jul 13, 2010 5:42 pm

Re: Turning off "Excessive processing detected" possible ?

Postby support » Wed Feb 20, 2013 5:01 pm

See your points here. This is something we put in as a failsafe but it could do with being more flexible. I'll note down that this needs to be looked at.
User avatar
support
 
Posts: 151
Joined: Fri Sep 07, 2012 2:10 pm

Re: Turning off "Excessive processing detected" possible ?

Postby trogluddite » Wed Feb 20, 2013 8:07 pm

Thanks, that would be great.
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
User avatar
trogluddite
 
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: Turning off "Excessive processing detected" possible ?

Postby mccy » Thu Feb 21, 2013 11:09 pm

Great! Thanks!
mccy
 
Posts: 69
Joined: Sun Feb 27, 2011 3:20 pm

Re: Turning off "Excessive processing detected" possible ?

Postby Jay » Fri Feb 22, 2013 6:12 pm

Thanks Support!
Jay
 
Posts: 276
Joined: Tue Jul 13, 2010 5:42 pm

Re: Turning off "Excessive processing detected" possible ?

Postby MyCo » Fri Feb 22, 2013 7:50 pm

This "Excessive processing detected" rescued my schematics several times. Otherwise I had to start from last saved schematic. Even with the option, I wouldn't turn it off, because FS could lock up. Eg: just type "redo" in a RubyEdit, and you can start from scratch.
User avatar
MyCo
 
Posts: 718
Joined: Tue Jul 13, 2010 12:33 pm
Location: Germany

Re: Turning off "Excessive processing detected" possible ?

Postby trogluddite » Fri Feb 22, 2013 9:14 pm

I'd certainly keep it turned on most of the time in order to have that safety net.

But there are situations where the current behaviour gets in the way - for example, calling an external function that takes a long time to return, or waits on user input.
Likewise in mccy's case - it seems to be 'timing out' on the Ruby protection rather than generating, for example, a stack overflow. Possibly his code could be tightened up as he suggests - but that would only raise the threshold for the maximum file size that would parse; there would still be an upper limit if time is the critical factor.

In a cases like these, there needs to be some way of letting FS know that the "excessive" processing is intentional and not the result of a programming error. Of course, the onus is then on the programmer to be aware of what the side effects might be (hundreds of Ruby events queuing up for access to the parser, for example) - so I would certainly not advocate turning it off as a routine measure!!

For this to work, it would certainly have to be a "per schematic" or, better still, "per RubyEdit" feature. I would be very concerned if it was implemented as a global option - that would not be wise move at all.
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
User avatar
trogluddite
 
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Next

Return to General

Who is online

Users browsing this forum: No registered users and 89 guests