Administrator
|
In the Programmer's Reference manual, under VA Smalltalk Virtual Machine API : Asynchronous callouts : Managing resources,
-- one of the listed resource limitations is "There is no more fixed space available." Is this an error that would arise because free space doesn't grow or is it an error that would only arise if you had effectively exhausted available memory and it couldn't any longer grow? You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/groups/opt_out. |
Hello Richard,
Fixed space doesn't grow. "There is no more fixed space available." means contiguous memory could not be found within the fixed space to allocate the object. Note that there may be unused memory in fixed space, just not enough contiguous unused memory for the object you are trying to put there. You can think of fixed space as "fixed" in two ways: 1. The size of the space is fixed at image startup. 2. The objects in fixed space are "fixed" in place. They do not move and do not participate in automatic garbage collection. They don't move or get automatically GC'd because the OS calls you make, passing them as an argument, expect them to stay at the same address. Since OS calls can be asynchronous, the GC doesn't dare touch them. Thus, fixed space is subject to fragmentation as well as simply running out of space. Doug Swartz Wednesday, August 21, 2013, 6:00:08 PM, you wrote: > In the Programmer's Reference manual, under VA Smalltalk Virtual > Machine API: Asynchronous callouts: Managing resources, > one of the listed resource limitations is "There is no more fixed space available." > Is this an error that would arise because free space doesn't grow > or is it an error that would only arise if you had effectively > exhausted available memory and it couldn't any longer grow? -- You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/groups/opt_out. |
Doug and Richard - Prior to VisualAge Smalltalk V6.0 it was correct that fixed space didn't grow. But since then it can (and does). There are a few caveats to keep in mind:
John On Thursday, August 22, 2013 6:52:51 AM UTC-4, dswartz wrote: Hello Richard, You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/groups/opt_out. |
In reply to this post by Richard Sargent
Richard - There are 2 possibilities:
I will see that this situation is more fully described in the documentation for 8.6.1. John On Wednesday, August 21, 2013 7:00:08 PM UTC-4, Richard Sargent wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/groups/opt_out. |
Administrator
|
Thanks for the information, John.
-- In the absence of any command line parameter or INI file entry, what value is used (or how would one determine that value?) for the segment size / growth factor? I ask because in my initial tests, I had only the default set and I could not allocate a somewhat large object in fixed space. ("somewhat large" means 256 KB, not exactly huge) There was plenty of available OS memory. Testing with a parameter of 16 MB never exercised the growth functionality, so it appeared to me as if there was no automatic growth functionality. I understand you are busy with ESUG, so there is no particular rush on the answers. But please do elaborate in the 8.6.1 documentation. By the way, I found accessing a byte structure in fixed space was about 10% faster than accessing the equivalent structure allocated in OS memory. Does that agree with your expectation? Such a performance benefit might be worthwhile if fixed memory is easy to use (and grows automatically), but would be a pain for users and our support otherwise. :-) Thanks, Richard On Friday, September 6, 2013 7:14:30 AM UTC-7, John O'Keefe wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/groups/opt_out. |
Richard - The statement 'The default is the size of the fixed space in the image when it was saved. In a
newly packaged image, the default size is the actual byte size required by the
image, plus a small amount.' means:
If you want/need something else, use the -mf commandline switch or the fixedSpaceSize .INI option. John On Friday, September 6, 2013 12:44:38 PM UTC-4, Richard Sargent wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/groups/opt_out. |
Free forum by Nabble | Edit this page |