Author |
Topic: Internal Error 15 (Read 1477 times) |
|
JLThompson
New Member
member is offline


Posts: 6
|
 |
Re: Internal Error 15
« Reply #6 on: Sep 9th, 2014, 9:22pm » |
|
I can see how to split it into 2-3 separate modules running on 2-3 networked computers, with 30,000 lines each, or so. I seem to have 3,000 to 4,000 arrays, as an estimate. String variables? Hard to estimate. Same with handles, presuming you are referring to [placeMarkersOfThisSort]. If these three settings could all be increased to 5,000, though, it would likely encompass my program.
|
|
Logged
|
|
|
|
Richard Russell
Administrator
member is offline


Posts: 1348
|
 |
Re: Internal Error 15
« Reply #7 on: Sep 9th, 2014, 9:40pm » |
|
on Sep 9th, 2014, 9:22pm, JLThompson wrote:| I can see how to split it into 2-3 separate modules running on 2-3 networked computers, with 30,000 lines each, or so. |
|
With a careful choice of inter-process communication (IPC) you should be able to arrange that the modules can run either on separate computers or on separate cores/CPUs on the same PC.
Quote:| I seem to have 3,000 to 4,000 arrays, as an estimate. |
|
It seems likely that this is the main limiting factor then. Incidentally LBB's arrays, unlike LB4's arrays, are not limited to two dimensions so I wonder if you can take advantage of that to reduce the total number:
Code: dim array$(3,4,5,6)
array$(1,2,3,4) = "Hello world!"
print array$(1,2,3,4)
Quote:| Same with handles, presuming you are referring to [placeMarkersOfThisSort]. |
|
No, they are labels, for which the current limit is 10,000. Handles are prefixed by # (e.g. #file, #dll or #window).
Richard.
|
|
Logged
|
|
|
|
JLThompson
New Member
member is offline


Posts: 6
|
 |
Re: Internal Error 15
« Reply #8 on: Sep 9th, 2014, 9:51pm » |
|
OK then, I would only need the array and string limits increased. I see what you mean about rewriting for different dimensions, but that would take far too much time at this stage.
|
|
Logged
|
|
|
|
Richard Russell
Administrator
member is offline


Posts: 1348
|
 |
Re: Internal Error 15
« Reply #9 on: Sep 10th, 2014, 11:11am » |
|
on Sep 9th, 2014, 9:51pm, JLThompson wrote:| OK then, I would only need the array and string limits increased. |
|
I have updated LBB to version 2.71 in which the maximum number of arrays and (non-local) string variables has been increased to 5000. There are no other changes.
Richard.
|
|
Logged
|
|
|
|
JLThompson
New Member
member is offline


Posts: 6
|
 |
Re: Internal Error 15
« Reply #10 on: Sep 10th, 2014, 7:00pm » |
|
Thank you very much, that is very generous of you. I tested it on my previous prototype, which has similar parameters, and it worked this time. Even found a number of bugs that Just Basic didn't catch. Hard to tell on a program with a variable run time, but it looks like it runs 2 to 6 times faster on this. This jumps my project ahead by months or even years, and saves me several hundred dollars to boot. Once again, thank you!
|
|
Logged
|
|
|
|
|