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 ?
11 posts
• Page 1 of 2 • 1, 2
Turning off "Excessive processing detected" possible ?
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!?
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 ?
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.
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.
-
nix - Posts: 817
- Joined: Tue Jul 13, 2010 10:51 am
Re: Turning off "Excessive processing detected" possible ?
+1
Maybe an option to set our own 'time out' duration, so we can 'balance' the protection to what we need.
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!
Don't stagnate, mutate to create!
-
trogluddite - Posts: 1730
- Joined: Fri Oct 22, 2010 12:46 am
- Location: Yorkshire, UK
Re: Turning off "Excessive processing detected" possible ?
+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!
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 ?
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.
-
support - Posts: 151
- Joined: Fri Sep 07, 2012 2:10 pm
Re: Turning off "Excessive processing detected" possible ?
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!
Don't stagnate, mutate to create!
-
trogluddite - Posts: 1730
- Joined: Fri Oct 22, 2010 12:46 am
- Location: Yorkshire, UK
Re: Turning off "Excessive processing detected" possible ?
Great! Thanks!
- mccy
- Posts: 69
- Joined: Sun Feb 27, 2011 3:20 pm
Re: Turning off "Excessive processing detected" possible ?
Thanks Support!
- Jay
- Posts: 276
- Joined: Tue Jul 13, 2010 5:42 pm
Re: Turning off "Excessive processing detected" possible ?
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.
-
MyCo - Posts: 718
- Joined: Tue Jul 13, 2010 12:33 pm
- Location: Germany
Re: Turning off "Excessive processing detected" possible ?
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.
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!
Don't stagnate, mutate to create!
-
trogluddite - Posts: 1730
- Joined: Fri Oct 22, 2010 12:46 am
- Location: Yorkshire, UK
11 posts
• Page 1 of 2 • 1, 2
Who is online
Users browsing this forum: Google [Bot] and 72 guests