pause garbage collection in parallel code

2014-12-15 Thread Stephan Schiffels via Digitalmars-d
Dear all, I have a parallel program, using std.parallelism (awesome!), but I recently noticed that I achieve very poor performance on many CPUs, and I identified the Garbage Collector to be the main cause of this. Because I have quite heavy memory usage, the Garbage collector interrupts all

Re: pause garbage collection in parallel code

2014-12-15 Thread Stephan Schiffels via Digitalmars-d
On Monday, 15 December 2014 at 11:54:44 UTC, Daniel Murphy wrote: Stephan Schiffels wrote in message news:wjeozpnitvhtxrkhu...@forum.dlang.org... I see several ways how to improve my code: 1.) Is there a way to tell the GC the maximum heap size allowed before it initiates a collection

Re: pause garbage collection in parallel code

2014-12-15 Thread Stephan Schiffels via Digitalmars-d
On Monday, 15 December 2014 at 11:54:44 UTC, Daniel Murphy wrote: Stephan Schiffels wrote in message news:wjeozpnitvhtxrkhu...@forum.dlang.org... I see several ways how to improve my code: 1.) Is there a way to tell the GC the maximum heap size allowed before it initiates a collection

stack trace output on exception

2014-07-08 Thread Stephan Schiffels via Digitalmars-d-learn
Hi, I am using dmd with version: DMD64 D Compiler v2.065-devel-db2a73d My program throws a custom exception with a custom error message at some point. The stack trace (below) is very uninformative. Is there a way to output the function names of each position in the stack? I already compile

Re: stack trace output on exception

2014-07-08 Thread Stephan Schiffels via Digitalmars-d-learn
Ah nice. That worked. Thanks! 2014-07-08 9:25 GMT+02:00 JR via Digitalmars-d-learn digitalmars-d-learn@puremagic.com: On Tuesday, 8 July 2014 at 07:11:26 UTC, Stephan Schiffels wrote: Hi, I am using dmd with version: DMD64 D Compiler v2.065-devel-db2a73d My program throws a custom