[pdp-discuss] Limitations of PDP++?
Randall C. O'Reilly
oreilly at psych.colorado.edu
Thu Dec 15 09:21:47 MST 2005
There are no explicit limitations on anything in PDP++, except for the size of
a standard sized int, which is quite large. There is one limitation on the #
of events that can be displayed in the enviro view -- I think it is 100,000.
I suspect that you are just running out of memory. You can do the math and
see how much it takes. e.g., do 'type BpUnit' etc at the command line, and
look at the very first line -- it will tell you the size of the object.
e.g., a plain Unit is 472 bytes, and a plain connection is 12. The Unit will
also incur a Con_Group overhead for each projection that it has, so add that
as well.
In general, PDP++ is optimized for flexibility of configuring different
architectures as opposed to either space or speed flexiblity..
- Randy
On Wednesday 14 December 2005 09:16 pm, David Huber wrote:
> Hello,
>
> I've got my network set up and behaving the way that I want it to, but I've
> come across a couple of interesting limitations that I am wondering if I
> can overcome or work around.
>
> 1. I have created a rather large network in a script file: it has thousands
> of units (not all of them connected). One time in particular, I was trying
> to create a much larger network, and the program segmentation faulted
> before the process completed. I had the 'heap_chunk_in_mb' key in my
> registry set very high (1GB or so) with plenty of RAM to back that up. I'd
> like to know what causes this problem, and if there is any type of
> workaround.
>
> 2. Also, while trying to load another particularly large file (an
> environment), I was presented with the error message:
>
> "string: requested length out of range"
>
> repeated many times, followed by a series of digits that had once been in
> my script file. I've deduced that it is related to the number of characters
> in the string, since reducing the precision of the values provided a
> temporary fix. However, this severely limits the size of the networks I can
> use. Is there a hard-coded value somewhere that can be changed, or is this
> something I just have to live with?
>
> Thanks to everyone for all of your help. I think I am finally starting to
> get a feel for this program.
>
> David
> _______________________________________________
> PDP-Discuss mailing list
> PDP-Discuss at psych-srv3.Colorado.EDU
> http://psych-srv3.Colorado.EDU/mailman/listinfo/pdp-discuss
More information about the PDP-Discuss
mailing list