Paul; Unfortunately a 32-bit JRE has limited heap space capacity and it appears you have reached that limit. See http://www.topquadrant.com/products/TBS_FAQ.html#TBC6 for more.
Depending on the contents of your script, there are a few things you can try. One is to use the CollectGarbage module. Of course there are always performance implications to running garbage collection, but if there are discarded references in your iterations you might be able to buy yourself enough memory to run the script against your data. There could be other refactorings of the script that can use less memory, such as avoiding ?s ?p ?o queries, minimizing the amount of string manipulations (Filter comparisons are a common offender), etc. Using a data back-end will help only if the size of the imported module is large and your script only needs a smaller portion to run. If that's the case, you can use a TDB store and be careful to query in only the triples necessary to run the script. Beyond that you may need to divide to conquer. Hope that helps some and if there are more specific questions, let us know. -- Scott On May 12, 6:30 am, PaulZH <[email protected]> wrote: > During a SPARQLMotion Iterate which loops over all instances of a > model I do get following error message: > Error: java.lang.OutOfMemoryError: unable to create new native thread > > My memory settings on Windows 7 (32 bit) are: > -vmargs > -Xms128m > -Xmx820m > -XX:MaxPermSize=512m > -XX:PermSize=128m > > Any suggestion to optimize? > > If I set -Xmx to 1024m, TBCME won't run. > > Paul > > -- > You received this message because you are subscribed to the Google > Group "TopBraid Suite Users", the topics of which include TopBraid Composer, > TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN. > To post to this group, send email to > [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group > athttp://groups.google.com/group/topbraid-users?hl=en -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include TopBraid Composer, TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/topbraid-users?hl=en
