I'm having an unfortunate DSFML issue, where failing to free objects like
Images or Sprites causes exceptions to eventually be thrown. Calling the
built-in member dispose() causes access violations, so I assume it's not for
programmer use.
However, I need the resources to be freed more quickly tha
Sean Eskapp:
> so is there a way to invoke a GC cleanup in some way?
http://www.digitalmars.com/d/2.0/phobos/core_memory.html#minimize
Bye,
bearophile
On Wed, 09 Feb 2011 15:58:13 -0500, bearophile
wrote:
Sean Eskapp:
so is there a way to invoke a GC cleanup in some way?
http://www.digitalmars.com/d/2.0/phobos/core_memory.html#minimize
This attempts to minimize memory, it does not run a collection cycle (I
don't think anyways). To
However, I need the resources to be freed more quickly than the GC is
apparently doing
You could use scoped instances if you need to clean them up soon after
creation.
== Quote from Steven Schveighoffer (schvei...@yahoo.com)'s article
> On Wed, 09 Feb 2011 15:58:13 -0500, bearophile
> wrote:
> > Sean Eskapp:
> >
> >> so is there a way to invoke a GC cleanup in some way?
> >
> > http://www.digitalmars.com/d/2.0/phobos/core_memory.html#minimize
> This attempts to
On 02/09/2011 10:15 PM, Steven Schveighoffer wrote:
On Wed, 09 Feb 2011 15:58:13 -0500, bearophile wrote:
Sean Eskapp:
so is there a way to invoke a GC cleanup in some way?
http://www.digitalmars.com/d/2.0/phobos/core_memory.html#minimize
This attempts to minimize memory, it does not run
On Thu, 10 Feb 2011 07:34:53 -0500, spir wrote:
On 02/09/2011 10:15 PM, Steven Schveighoffer wrote:
On Wed, 09 Feb 2011 15:58:13 -0500, bearophile
wrote:
Sean Eskapp:
so is there a way to invoke a GC cleanup in some way?
http://www.digitalmars.com/d/2.0/phobos/core_memory.html#minimiz
Sean Eskapp wrote:
>I'm having an unfortunate DSFML issue, where failing to free objects
>like Images or Sprites causes exceptions to eventually be thrown.
>Calling the built-in member dispose() causes access violations, so I
>assume it's not for programmer use.
>
>However, I need the resources to
Johannes Pfau wrote:
>Sean Eskapp wrote:
>>I'm having an unfortunate DSFML issue, where failing to free objects
>>like Images or Sprites causes exceptions to eventually be thrown.
>>Calling the built-in member dispose() causes access violations, so I
>>assume it's not for programmer use.
>>
>>Howev
== Quote from Trass3r (u...@known.com)'s article
> > However, I need the resources to be freed more quickly than the GC is
> > apparently doing
> You could use scoped instances if you need to clean them up soon after
> creation.
To my knowledge, these are being removed from the language, and so, c
On Wednesday 09 February 2011 17:52:47 Sean Eskapp wrote:
> == Quote from Trass3r (u...@known.com)'s article
>
> > > However, I need the resources to be freed more quickly than the GC is
> > > apparently doing
> >
> > You could use scoped instances if you need to clean them up soon after
> > crea
11 matches
Mail list logo