ArtRage 5 Product PageArtRage Lite Product PageArtRage for iPad Product PageArtRage for Android Product PageArtRage  Android Oil Painter Free Product PageArtRage  Free Demos Page

Results 1 to 6 of 6

Thread: bad memory management and a suggestion

  1. #1
    Join Date
    Jan 2010
    Posts
    4

    bad memory management and a suggestion

    Hi,

    I was working on a rather large painting with a few layers. The size was 8000 pixels by approx 4600 pixels. When I tried to export the image it failed. So I thought I'd just merge all layers and try again. Clearly the memory was at it's limits.

    Merging all layers resulted in half the image with the other half transparent. No good.

    Next attempt was to merge layer by layer, this also failed with a memory error after a while.

    So in the end I merged two, saved the file, closed artrage, opened the file, merged two layers etc. This worked.

    Clearly the problem is the memory being taken by the undo's. Maybe an idea to add an option to say how many undos are being kept in memory OR to limit the memory the undos can take up. Also it would be great to get a "purge undo" button or something like it.

    If you can get to the same result as merge all layers in the way I did then clearly the code can be optimised a bit better for these situations. Either way a 64 bit version would be great !

    Thanks,

    Wiek

  2. #2
    Join Date
    Mar 2006
    Location
    New Zealand
    Posts
    3,137
    The amount of memory used by ArtRage layers is higher than in many other applications due to the additional data required for tracking paint volumes and other properties such as wetness. We're looking at ways to improve memory handling currently. We don't store any undo data in memory however, it's all disk file based.

    Glad to hear you found a workaround in the meantime.
    Matt
    ArtRage UI
    Ambient Design.

  3. #3
    Join Date
    May 2009
    Location
    Down a hole
    Posts
    944
    Hi MattRage,
    when you say diskfile based are you saying that it is written within the ptg file? or in the pagefile?
    The more hair I lose, the more head I get.

  4. #4
    Join Date
    Mar 2006
    Location
    New Zealand
    Posts
    3,137
    We use OS level temporary files for undo storage.
    Matt
    ArtRage UI
    Ambient Design.

  5. #5
    Join Date
    May 2009
    Location
    Down a hole
    Posts
    944
    Hi Matt,
    Wow!
    I just saw the undo in action by opening up the temp folder.
    What a great system!! So efficient for the memory!
    Kudos.
    Just out of curiosity, I guess it would not matter at all how long a session (in terms of undo operations) one might have in AR, if the disk space is available there would be no impact on the performance, right?
    The more hair I lose, the more head I get.

  6. #6
    Join Date
    Mar 2006
    Location
    Ambient Design
    Posts
    3,839
    That's correct.
    AndyRage's mantra for graphics engine code:
    "Sure - how hard can it be?"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •