I often run out of heap space when running TBC so I either run with a high value for -Xmx (14GB or physical RAM-2GB in extreme cases) or use TDB to take advantage of memory mapped files.
One way to see if you are memory-bound is to check to see how much memory the TBC process is consuming relative to the max amount you've allocated via the Xmx setting. On Windows, you can see this in task manager. I'm not sure how to do it on a Mac. Doing this can give you some insight without the trial and error of adjusting max memory settings. As you've said though, it's likely processor bound. In case you are able to upgrade your hardware, one drawback to TBC is that nearly everything is single-threaded so getting the fastest processor possible is good but having multiple cores doesn't help much, unfortunately. Tim On Tue, Dec 5, 2017 at 5:31 PM, Bohms, H.M. (Michel) <[email protected]> wrote: > > > Always use turtle when in control indeed. > > Ini.orig worked in the end but with no perf. improv. It just takes time > (indept. Of ram). > > > > Thx m > > > > > > Dr. ir. H.M. (Michel) Böhms > Senior Data Scientist > > T +31888663107 <+31%2088%20866%203107> > M +31630381220 <+31%206%2030381220> > E [email protected] > > Location > <https://www.google.com/maps/place/TNO+-+Locatie+Delft+-+Stieltjesweg/@52.000788,4.3745183,17z/data=!3m1!4b1!4m5!3m4!1s0x47c5b58c52869997:0x56681566be3b8c88!8m2!3d52.000788!4d4.376707> > > > > <http://www.tno.nl/> > > This message may contain information that is not intended for you. If you > are not the addressee or if this message was sent to you by mistake, you > are requested to inform the sender and delete the message. TNO accepts no > liability for the content of this e-mail, for the manner in which you use > it and for damage of any kind resulting from the risks inherent to the > electronic transmission of messages. > > > > > > > > > > *From:* [email protected] [mailto:topbraid-users@ > googlegroups.com] *On Behalf Of *David Price > *Sent:* Tuesday, December 5, 2017 11:15 PM > *To:* [email protected] > *Subject:* Re: [topbraid-users] performance evn > > > > > > On 5 Dec 2017, at 19:05, Bohms, H.M. (Michel) <[email protected]> wrote: > > > > > > I noiticed no diff. so I guess its indeed time-complex. > > > > It may also depend on the encoding of any data. For example, if you import > an RDF/XML encoded dataset it will always be slower to open than a Turtle > file. It’s not clear what you’re editing/importing but better to keep that > in mind. > > > > I also noticed that after startup of tbc with the new setting (4096) it > was reset again (the ini setting goes back to 2048)…. > > > > I update both the .ini and .ini.orig files with the new value and that > works. > > > > Cheers, > > David > > > > > > > > > > > > Dr. ir. H.M. (Michel) Böhms > Senior Data Scientist > > > T +31888663107 <+31%2088%20866%203107> > M +31630381220 <+31%206%2030381220> > E [email protected] > > Location > <https://www.google.com/maps/place/TNO+-+Locatie+Delft+-+Stieltjesweg/@52.000788,4.3745183,17z/data=!3m1!4b1!4m5!3m4!1s0x47c5b58c52869997:0x56681566be3b8c88!8m2!3d52.000788!4d4.376707> > > > > <http://www.tno.nl/> > > This message may contain information that is not intended for you. If you > are not the addressee or if this message was sent to you by mistake, you > are requested to inform the sender and delete the message. TNO accepts no > liability for the content of this e-mail, for the manner in which you use > it and for damage of any kind resulting from the risks inherent to the > electronic transmission of messages. > > > > > > > > > > *From:* [email protected] [mailto: > [email protected] <[email protected]>] *On > Behalf Of *Irene Polikoff > *Sent:* Tuesday, December 5, 2017 7:27 PM > *To:* [email protected] > *Subject:* Re: [topbraid-users] performance evn > > > > For me, it takes 5-6 seconds to display a class with about 30 direct > property shapes and 36 inherited (through subclasses). It is a particularly > complex case. > > > > It takes 2-3 seconds to display a class with 13 direct property shapes and > 27 inherited. > > > > I am on a Mac though. I have never changed the default. > > > > On Dec 5, 2017, at 1:13 PM, David Price <[email protected]> wrote: > > > > Depends on what else you have running and the size of the datasets you > will be editing. Roughly, 1GB extra memory for each 1M triples. > > > > I’ve run everything from 4GB to 12GB depending on the project I’m working. > > > > Cheers, > > David > > > UK +44 7788 561308 <+44%207788%20561308> > > US +1 336 283 0606 <(336)%20283-0606> > > > > > > > > > On 5 Dec 2017, at 17:55, Bohms, H.M. (Michel) <[email protected]> wrote: > > > > Hi David > > > > So now I have: > > > > -Xmx2048M > > -Xms640M > > > > Having 8 GB ram (64-bit), what would you advice? > > > > > > > > > > > > Dr. ir. H.M. (Michel) Böhms > Senior Data Scientist > > > > T +31888663107 <+31%2088%20866%203107> > M +31630381220 <+31%206%2030381220> > E [email protected] > > Location > <https://www.google.com/maps/place/TNO+-+Locatie+Delft+-+Stieltjesweg/@52.000788,4.3745183,17z/data=!3m1!4b1!4m5!3m4!1s0x47c5b58c52869997:0x56681566be3b8c88!8m2!3d52.000788!4d4.376707> > > > > <image001.gif> <http://www.tno.nl/> > > This message may contain information that is not intended for you. If you > are not the addressee or if this message was sent to you by mistake, you > are requested to inform the sender and delete the message. TNO accepts no > liability for the content of this e-mail, for the manner in which you use > it and for damage of any kind resulting from the risks inherent to the > electronic transmission of messages. > > > > > > > > > > *From:* [email protected] [mailto: > [email protected] <[email protected]>] *On > Behalf Of *David Price > *Sent:* Tuesday, December 5, 2017 6:50 PM > *To:* [email protected] > *Subject:* Re: [topbraid-users] performance evn > > > > https://www.topquadrant.com/knowledge-assets/faq/tbc/ > > > > look for : > > > > Can I increase the amount of memory for Composer? > > > > Cheers, > > David > > > UK +44 7788 561308 <+44%207788%20561308> > > US +1 336 283 0606 <(336)%20283-0606> > > > > > > > > > > On 5 Dec 2017, at 17:42, Bohms, H.M. (Michel) <[email protected]> wrote: > > > > Is there anything I can do in settings to improve the performance of evn > (local)? > > (java setting or?) > > Showing class in middle takes about 8 seconds (one with about ~20 property > shapes). > > > > Thx Michel > > > > > > > > > > > > Dr. ir. H.M. (Michel) Böhms > Senior Data Scientist > > > > > T +31888663107 <+31%2088%20866%203107> > M +31630381220 <+31%206%2030381220> > E [email protected] > > Location > <https://www.google.com/maps/place/TNO+-+Locatie+Delft+-+Stieltjesweg/@52.000788,4.3745183,17z/data=!3m1!4b1!4m5!3m4!1s0x47c5b58c52869997:0x56681566be3b8c88!8m2!3d52.000788!4d4.376707> > > > > <image001.gif> <http://www.tno.nl/> > > This message may contain information that is not intended for you. If you > are not the addressee or if this message was sent to you by mistake, you > are requested to inform the sender and delete the message. TNO accepts no > liability for the content of this e-mail, for the manner in which you use > it and for damage of any kind resulting from the risks inherent to the > electronic transmission of messages. > > > > > > > > > > > > -- > You received this message because you are subscribed to the Google Groups > "TopBraid Suite Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > > > > -- > You received this message because you are subscribed to the Google Groups > "TopBraid Suite Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > > > > -- > You received this message because you are subscribed to the Google Groups > "TopBraid Suite Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > > > > > > -- > You received this message because you are subscribed to the Google Groups > "TopBraid Suite Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > > > > -- > You received this message because you are subscribed to the Google Groups > "TopBraid Suite Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > > > > -- > You received this message because you are subscribed to the Google Groups > "TopBraid Suite Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > > > > -- > You received this message because you are subscribed to the Google Groups > "TopBraid Suite Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "TopBraid Suite Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
