PDA

View Full Version : Out of memory whilst patching


aeiltz
07-15-2009, 08:42 AM
We have recently had problems with Visual Patch giving Out of memory errors.
So we thought we better upgrade to the latest version of Visual Patch, but the problem still occurs.
The server that we build the patches on does not show any sign of running out of memory, so what is going on ?
Is it possibly related to the number of versions that we patch ?

aeiltz
07-15-2009, 09:08 AM
See screenshot for error message and the stage when it happens.

jassing
07-15-2009, 09:35 AM
There seems to be a lot of "including whole file" messages -- could you be getting low on physical disk space on the temp drive?

aeiltz
07-22-2009, 04:30 AM
I have 15Gb of free disk space so that is not the problem. I have switched off the logging and verbose logging, this has reduced the number of "Out of memory" occurrences.

I decided to remove some of our older versions, we have about 50 version with each about 1800 files. Then I tried to build again and hey presto no more "Out of memory" errors.

So clearly Visual patch cannot cope with the great number of files/versions.

jassing
07-22-2009, 09:41 AM
I would bet that it's not the disk size that it's complaining about; but rather RAM.

if most of your 1800 files change and you have many versions; I would suspect a out of memory condition at some point.

My understanding is that the underlaying patch engine is near limitless -- but it is limited by your machine... Physical ram & disk space...

Glad you got it sorted out.