Monday, June 20, 2011 3:28 PM DanielJ

Understanding Painter's memory settings

A common question we’re asked is to explain how to make the most of your system memory when using Painter. Well, to answer that question properly, you need a little background:

When you create a canvas in Painter, all the information about how you created it has be stored somewhere (ex. the color of each pixel, the layers, the undo operations). There are two choices on where we can store that data: on your hard disk drive (HDD) or in random access memory (RAM). It is many, many times faster to read and write information in to RAM than it is to your HDD. So, we place a priority on using as much RAM as possible in as effective a manner as possible. In order to accomplish this, Painter uses an entity called a “tile”. Each tile holds about 60,000 pixels and you will use many hundreds of tiles for a typical document. As an example, a canvas of 1600x900 requires 1,440,000 pixels, or about 25 tiles... without factoring in any costs associated with storing undo information or layers.

If you’re curious about how Painter is using tiles, you can try this little-known trick: Press SHIFT+i to display the following dialog:

The important numbers to note are the number of tiles allocated (red) and the number of free tiles (yellow).  

Painter allows you to configure how much RAM it uses to store tiles. This is where the Performance Preferences Memory Usage slider comes in to the equation. The value that you set here determines the total amount of memory available to create tiles in RAM before Painter needs to use your HDD. 

By default, Painter is configured to use up to 80% of your total system memory. I’d like to emphasize that point: the memory slider allows Painter to use a percentage of the entire amount of memory installed in your computer. If you have 4 GB of RAM, a setting of 80% allows Painter to use up to 3.2 GB. Allowing Painter to have access to this much memory can offer a great boost in performance but it does come at a cost; using that much memory in Painter means that memory is not available to other applications. So, if you’re a heavy multi-tasker and like using other applications in conjunction with Painter you’ll probably want to dial down your memory slider a little bit. I think it’s usually a good idea to leave at least 1 GB of memory available to your other applications.

There are a couple of other points that I think are worth noting: 

  1. Once Painter has allocated RAM for tiles, it reserves that RAM for future use. Even if you close the document that required those tiles, Painter doesn’t immediately return the memory to the system. This offers significant performance improvements since we don’t have to incur the cost of re-allocating more tiles the next time you modify a document.
  2. In addition to the memory used by tiles, Painter uses a little more memory to load things like the user interface and some of your content (like paper textures, for example). So, sometimes you’ll notice that Painter uses a higher actual percent of your computer’s memory than the value you’ve specified for the slider. 

If you’re curious about how these tile allocations work, try out this example: 

  1. Launch Painter & press SHIFT+i. You should see numbers similar to these: Painter is using 160 MB of RAM; 79 total tiles; 12 free.
  2. Create a 1600x900 document, Edit>Fill...> Fill With: Current Color and press SHIFT+i. You should see numbers similar to these: 188 MB of RAM, 121 total tiles; 0 free. In this case Painter used all of the previously allocated tiles and allocated 30 more.
  3. Close the document and press SHIFT+i. You should see numbers similar to these: 188 MB of RAM, 121 total tiles; 56 free. In this case, Painter has returned 56 tiles to the ‘pool’.
  4. Create a second 1600x900 document and press SHIFT+i. You should see numbers similar to these: 188 MB of RAM, 121 total tiles; 52 free. In this case, Painter has re-used 4 of the tiles and not allocated any additional RAM as it already has enough.  

I think I’ll end this discussion on memory here, but I hope you’ve learned a little about how Painter uses your system memory. I’d be curious to know if you have any questions related to this.

 

 

 

 

 

 

 

Filed under: , , ,

Comments

# re: Understanding Painter's memory settings

Tuesday, June 21, 2011 9:11 AM by skipallen

Hey Daniel,

No questions yet, but this post has helped me underestand the memory issues.  Thanks very much for that.  I look forward to your next post.  I going to try the Shift + i right now.

Thanks again for a very informative post!

Skip

# re: Understanding Painter's memory settings

Tuesday, June 21, 2011 11:43 AM by Karen Bonaker

Thank you for posting this insightful and informative information one of the most discussed topics out there and very helpful.

Thank you,

Karen Bonaker

# re: Understanding Painter's memory settings

Wednesday, June 22, 2011 6:19 PM by tlb

Hey Dan...very interesting info. When Painter is closed, does Painter immediately release the system memory that had been in use?

Thanks...

Terrie

# re: Understanding Painter's memory settings

Wednesday, June 22, 2011 8:16 PM by DanielJ

Absolutely, Terrie. Painter frees all the resources that it was using as soon as you quit. This reminds me of another tip; if you're concerned about Painter using too much memory, you can restart Painter between projects... This will give you a clean slate to start with.

# re: Understanding Painter's memory settings

Thursday, June 23, 2011 4:45 PM by tlb

>>Painter frees all the resources that it was using as soon as you quit.

Excellent! I figured it did but wanted to double check...thanks much!

Terrie

# re: Understanding Painter's memory settings

Wednesday, July 06, 2011 2:10 PM by porky

dan, following your article..very interesting..i'm not sure how to get P12 to show RAM used. when i use the shift I i get total sets,locked , free and total heap..is there some conversion process if i use x number of tiles,that equals x number of RAM?..you state that the window says ram used and tiles used.i dont see the ram listed..i have been doing some tests and i can run p12 on a system at home with 512 megs of ram and a 2.8 processor just fine..yep 1/2 gig ..thanks for the info!

# re: Understanding Painter's memory settings

Wednesday, July 06, 2011 3:45 PM by DanielJ

You're right that Painter doesn't provide the RAM usage information itself.

There are a couple of ways to check how much RAM Painter is using, but the easiest is to:

On Windows - press CTRL+SHIFT+ESC to bring up the Windows Task Manager. Look at the "Working Set (Memory)" column to see how much RAM Painter is using.

On Mac OS - launch Activity Monitor (press CMD+SPACE and type activity monitor in spotlight) and look at the "Real Mem" column

# re: Understanding Painter's memory settings

Tuesday, November 22, 2011 4:05 AM by witcrack

Hello Dan,

I looked into this article hoping to find an answer to my problem related to memory settings. I just noticed, about two weeks ago, that my "scratch drive" box is empty (the one right below the memory slider, but off-course you know that), I remember setting it the first time I installed Painter to drive D. So, I clicked it to roll down the list of drives, and strangely the list is also empty, I can't choose a scratch drive. I cannot  notice the impact to the performance though, except that whenever I try to enlarge a digital airbrush variant to ridiculously big size (above 700!) then an error message is popped out saying i don't have enough RAM. Now i don't know if this is related to the scratch drive issue i'm having, or maybe Painter doesn't allow a brush to be that monstrous in size.

My question is, off-course, where the list go? Will it impact Painter's performance?

Thanks in advance.

# re: Understanding Painter's memory settings

Tuesday, November 22, 2011 4:19 AM by witcrack

oh and, I'm sorry, not meaning to spam but I forgot about my system details, in case you need them:

I use an AMD athlon II x4 with 4 Gb of RAM, 3.2 Gb usable, a 128 Mb Video RAM (onboard device), running on Windows 7 (32 bit).

# re: Understanding Painter's memory settings

Monday, June 18, 2012 7:40 PM by Lucia-denton

I udpdate painter 12 and it has been a nightmare. nothing is working, painter stop a lot and when I save a file the layers and channels show black squeres every where, my saved selections are not what I saved (it shows lines instead of a contour of flowers) also painter 12 not takes 8gi from my memory and it takes for ever for any task.

The only thing I see different is the scratch memory is not in C:/ but on an external driver. I do not have a c:/ for an option only show my external drivers.

The first time that I did the update, painter 12 did not work at all, I call painter support and they re-install everything from the begging.

I have windows7, 64bit, 1tb, 12gi of ram I think it is enough to be able to handle painter, it was working fine not perfect but I did not have any of these issues.

Also if I need to install everything from the beginning again I want to save all my custom palettes, brushes libraries and setups, I need to know if there is a way to save it, I have spend more than 2 days setting up every thing like I have it before.

Please help me.

Thanks,

Lucia

# you could try this out

Friday, September 12, 2014 6:47 AM by you could try this out

Understanding Painter's memory settings - Caroline's Painter Insights

# http://winnetkatravel.com/install/info.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fwww.socialcheats.com%2Fminion-rush-cheats%2F%3Ehttp%3A%2F%2Fwww.socialcheats.com%2Fminion-rush-cheats%2F%3C%2Fa%3E

Understanding Painter's memory settings - Caroline's Painter Insights

# office cubicle pegboard accessories hooks

Sunday, September 21, 2014 8:44 PM by office cubicle pegboard accessories hooks

Understanding Painter's memory settings - Caroline's Painter Insights

# Vegetable shredder

Thursday, September 25, 2014 6:54 PM by Vegetable shredder

Understanding Painter's memory settings - Caroline's Painter Insights

# florida sheet metal fabricators

Sunday, September 28, 2014 6:25 AM by florida sheet metal fabricators

Understanding Painter's memory settings - Caroline's Painter Insights

# best squash racket

Wednesday, October 01, 2014 4:33 PM by best squash racket

Understanding Painter's memory settings - Caroline's Painter Insights

# http://www.parisbeaute.ua/catalog/info.phtml?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fwww.socialcheats.com%2Ffree-xbox-live-codes%2F%3Ehttp%3A%2F%2Fwww.socialcheats.com%2Ffree-xbox-live-codes%2F%3C%2Fa%3E

Understanding Painter's memory settings - Caroline's Painter Insights

# http://www.osservatoriowelfare.it/news/phpinfo.php?a%5B%5D=Game+of+war+fire+age+hack+%28%3Ca+href%3Dhttp%3A%2F%2Fwww.socialcheats.com%2Fgame-of-war-fire-age-hack%2F%3Evisit+this+page%3C%2Fa%3E%29

Understanding Painter's memory settings - Caroline's Painter Insights

# simpsons tapped out Cheats

Friday, October 03, 2014 1:32 PM by simpsons tapped out Cheats

Understanding Painter's memory settings - Caroline's Painter Insights

# free spanish listening exercises

Saturday, October 04, 2014 8:44 AM by free spanish listening exercises

Understanding Painter's memory settings - Caroline's Painter Insights

# click here

Saturday, October 04, 2014 10:33 AM by click here

Understanding Painter's memory settings - Caroline's Painter Insights

# cool training

Sunday, October 05, 2014 1:16 PM by cool training

Understanding Painter's memory settings - Caroline's Painter Insights

# game of war fire age hack no downloads

Sunday, October 05, 2014 7:27 PM by game of war fire age hack no downloads

Understanding Painter's memory settings - Caroline's Painter Insights

# extremflug.de

Sunday, October 05, 2014 11:33 PM by extremflug.de

Understanding Painter's memory settings - Caroline's Painter Insights

# click over here

Monday, October 06, 2014 2:02 AM by click over here

Understanding Painter's memory settings - Caroline's Painter Insights

# http://www.almerlin.de/sitemap/p.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fwww.socialcheats.com%2Ffifa-15-coin-generator%2F%3Efifa+15+coin+generator%3C%2Fa%3E

Understanding Painter's memory settings - Caroline's Painter Insights

# Termometro de cocina

Monday, October 06, 2014 2:00 PM by Termometro de cocina

Understanding Painter's memory settings - Caroline's Painter Insights

# Megapolis Cheats

Wednesday, October 08, 2014 12:28 AM by Megapolis Cheats

Understanding Painter's memory settings - Caroline's Painter Insights

# http://www.ictus.co.uk/TESTsmtp/phpshowinfo.php?a%5B%5D=xbox+live+free+codes+%28%3Ca+href%3Dhttp%3A%2F%2Fwww.socialcheats.com%2Ffree-xbox-live-codes%2F%3ESocialcheats.com%3C%2Fa%3E%29

Understanding Painter's memory settings - Caroline's Painter Insights

# http://www.yousefkhani.eu/cgi-bin/info.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fwww.socialcheats.com%2Fdota-2-cheats%2F%3Ehttp%3A%2F%2Fwww.socialcheats.com%2Fdota-2-cheats%2F%3C%2Fa%3E

Understanding Painter's memory settings - Caroline's Painter Insights

# boom beach cheats

Thursday, October 09, 2014 9:18 AM by boom beach cheats

Understanding Painter's memory settings - Caroline's Painter Insights

# generateur de credits fifa 15

Friday, October 10, 2014 11:49 AM by generateur de credits fifa 15

Understanding Painter's memory settings - Caroline's Painter Insights

# http://digitalexpert.it/info.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fservisator.ru%2Fservice%2Fdomain%2Finfo%2Fgenerateurdecreditsfifa15.social-cheats.com%3Ehttp%3A%2F%2Fwww.matanzo.com%2F__media__%2Fjs%2Fnetsoltrademark.php%3Fd%3Dgenerateurdecreditsfifa15.so

Understanding Painter's memory settings - Caroline's Painter Insights

# homes for sale by owner

Saturday, October 11, 2014 6:17 AM by homes for sale by owner

Understanding Painter's memory settings - Caroline's Painter Insights

# http://201.144.29.10/xampp/phpinfo.php/RK=0/RS=F4XOSveN8QwYeP.xf380eFvdxfM-?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Finfrontams.tv%2F__media__%2Fjs%2Fnetsoltrademark.php%3Fd%3Dgenerateurdecreditsfifa15.social-cheats.com%3Ehttp%3A%2F%2Fwww.e-motorsport.com%2Fgaller

Understanding Painter's memory settings - Caroline's Painter Insights

# générateur de crédits fifa 15

Sunday, October 12, 2014 2:27 PM by générateur de crédits fifa 15

Understanding Painter's memory settings - Caroline's Painter Insights

# http://www.cescisneros.net?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fgenerateurdecreditsfifa15.social-cheats.com%2F%3Ehttp%3A%2F%2Fgenerateurdecreditsfifa15.social-cheats.com%2F%3C%2Fa%3E

Understanding Painter's memory settings - Caroline's Painter Insights

# fun office cubicle accessories

Tuesday, October 21, 2014 2:14 AM by fun office cubicle accessories

Understanding Painter's memory settings - Caroline's Painter Insights

# http://production.qualityonewoodwork.com/?a%5B%5D=webcam+sex%2C+%3Ca+href%3Dhttp%3A%2F%2Fwww.carolinatool.net%2F__media__%2Fjs%2Fnetsoltrademark.php%3Fd%3Dlivecamgirls.imnude.com%3Ewww.carolinatool.net%3C%2Fa%3E%2C

Understanding Painter's memory settings - Caroline's Painter Insights