Biomechanic
![]()
Posts: 122 |
Hi There
Last night I rendered a 10000 x 5000 image of this filter (one of my favourites) Kromatism ![]() When I went to save it as a .JPG, this error occured : <class XFW::Kernel::StdException> bad allocation After cancelling the error, saving halted, but the save progress dialogue box remained open - after cancelling that, I got this error : Object <class XFW::IO::File>@0804F6F0 was not released before destruction. FF does save a partial JPG file which can be opened, but obviously all the image data is not there - also, attempting to save in other file formats gets the same results. The error doesn't seem to be fatal, as FF remains open, usable and stable I then re-booted my machine, rendered again and attempted to save again, the same thing happened I tried with a few other large sizes, i.e. 4000 x 4000, 5000 x 5000, the same thing happened But, I must say - the render executed perfectly, using all cores available - in fact the very first attempt was at 20,0000 x 10,0000 which rendered on my machine in 17 minutes, only to be lost on saving, which I can assure you was very annoying Other filters seem fine at hi-res, I rendered Alien Ribs at 20,000 x 10,000 in 4 minutes and it saved without a hitch. Admittedly, I am running the trial, of which I only have a few days left, so would be grateful if you could tell me why this is happening with this filter and possibly cure the issue ? Thanks very much for your time Best J |
|||
Posted: April 16, 2008 1:11 am | ||||
onyXMaster
Posts: 350 |
"bad allocation" means that you ran out of available memory. Please try the following:
1) ensure your paging file size isn't limited by a setting in Control Panel->System->Advanced->Settings(Performance)->Advanced->Change (ideally it should be System Managed and you should have enough space on disk, I recommend several tenths of gigabytes) 2) reduce the amount of memory Filter Forge uses for it's internal computations (go to Tools->Options...->Rendering and set the Maximum RAM usage slider to something like 60 instead of the default 75) Also please ensure that you have enough disk space for both paging file (you can check it in the same location as 1) ) and Filter Forge temporary files (available in the same location as 2) ). |
|||
Posted: April 16, 2008 2:34 am | ||||
onyXMaster
Posts: 350 |
P.S. I will check if there's a specific problem with this filter and such image sizes with properly set up paging file. The fact that other filters render fine makes me think that you're running out of disk space (there are two bitmap-based components in there, with such resolutions the temporary files alone might take from 3 to 6 gigabytes
![]() |
|||
Posted: April 16, 2008 2:41 am | ||||
onyXMaster
Posts: 350 |
I did some testing -- was able to properly render and save 10Kx5K image with the filter you used, but I got very close to the memory commit limit. I still would like to hear from you about the recommendations I gave, whether they helped or not.
There _are_ plans to change the large block allocation scheme to reduce the amount of fragmentation leading to possible reaching of the commit barrier (which is almost impossible to determine precisely unless you've already hit it ![]() |
|||
Posted: April 16, 2008 3:38 am | ||||
Biomechanic
![]()
Posts: 122 |
onyXMaster thanks for your prompt response and help
Following your instructions, I was able to render a 20Kx10K (20000 x 10000) image, which I intend to post on the forum - that was my intention from the start, I haven't seen any posts relating to large format images, so thought this might be cool Going back to the original problem, it seems that page filing was turned OFF for some reason, I had recently installed Vista SP1 - maybe that has some bearing on it, anyway - turning it on did the trick and reducing FF's RAM usage (as you correctly suggested) to 45% also must have worked Again, thanks very much for your help Best J |
|||
Posted: April 16, 2008 5:17 am | ||||
onyXMaster
Posts: 350 |
Running without page file is dangerous stuff in many programs, not only FF
![]() Glad I could help, good luck to you ![]() |
|||
Posted: April 16, 2008 10:32 am | ||||
Vladimir Golovin
Administrator |
Nice to hear that ![]() |
|||
Posted: April 24, 2008 4:19 am | ||||
SpaceRay
![]() |
Is this true what oniXMaster have said ? The error could come fr om the paging file size ???
![]()
|
|||
Posted: January 29, 2012 1:00 pm | ||||
Morgantao
![]() |
Bad allocation in most program relates to memory allocation.
Think of computer memory as a giant library with lots of shelves. The RAM is the small shelves right next to the librarian. It doesn't take the librarian much time to access these books. But there's no way to fit a whole library in just those shelves, so you have the Page File, which is a set of very long shelves located somewhere else. Those shelves have much more storage space, but it takes a while for the librarian to come get the books fr om here. Not only that, to get you these books, he needs to take the books off the near shelves (RAM) and put them in the far shelves (Page File), to make room for the books you want in the near shelves. Now imagine you don't have enough space in the Page File. Wh ere will the librarian put the books? He can try to jam them between other books, but that will get the pages all wrinkled, and some of the books will fall on the floor or get lost behind other books.... A whole lot of mess... ![]() That's when you get errors - The librarian can't find the books you're looking for, and get mad at you for asking them, but the librarian can't shout at you for interupting his work and asking him for books he can't find, because it's a library, and you need to keep quiet. That only gets the librarian more angry, ![]() ![]() Now all is lost and you have to start your research all over again, ![]() OK, so I got a little carried away ![]() |
|||
Posted: January 29, 2012 6:08 pm | ||||
SpaceRay
![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() With all the many FF errors I am getting fr om the "bad allocation" message, the mental hospital must be getting already full of mad librarians ![]() Well I understand very well it, BUT in my personal case I have 16 GB RAM (a huge lot of shelves), of which is said that FF can ONLY use 1,5 GB as the program is lim ited to that (FF is looking at ALL the other 14,5 GB of huge empty space that could use, but FF INC. have put a fence with a note that say "this part of the library is forbidden for you" And so it uses those ONLY 1,5 GB BUT is this true ? Because inside the configuration of FF I have put that FF uses as "Memory usage lim it: (percent of total RAM) = 60% of the available RAM. And as I have 16 GB, the 60% of that would be 9,6 GB, although I have to count all the memory Windows and FF is already consuming so it will be less than that, let´s say it is 12 GB, even then, the 60% of 12 GB would be 7,2 GB and FF can´t use more than 1,5 GB. So as FF can´t use more than 1,5 GB it uses the paging file, BUT I have 32 GB of paging file size, and 27 GB free space in the C: drive for any temporary file could need. SO I do not know WHY the librarian does not have enough space to put all the books in the available space ? ![]() |
|||
Posted: January 30, 2012 1:00 am | ||||
Morgantao
![]() |
Obviously the librarian is senile, or he has Alzheimer's desease, and untill the doctors can find a cure, the librarian is going to missplace books, and go mental.
Thank god it's a librarian and not a postal worker ![]() |
|||
Posted: January 30, 2012 3:26 am | ||||
SpaceRay
![]() |
As you have said that the Librarian that controls the RAM is senile and so can´t do right his job I decided that was time that he had a retirement and do not keep working, and have replaced him with a new one that is not standalone, he is kept under supervision of a big boss called Photoshop. ![]() WHY I AM TELLING YOU THIS ? Because I have found that in my case this ONLY happens in the FF standalone version !! And so replacing the standalone controller for the plugin under Photoshop control seems to solve the problem. I have got this error many times and with just a 2500x2500 photo ![]() ![]() USING FILTER FORGE AS A PLUGIN OF PHOTOSHOP CS5 SOLVES THE PROBLEM !!! ![]() BUT then I have used the SAME photo with Filter Forge as a plugin inside Photoshop and using the same filter and same settings, AND DO NOT GET ANYMORE this error , So I am happy that at least I know that to fix this undesired and unwanted error I just need to use Filter Forge as plugin and this SOLVES the problem. ![]() PLEASE MORGANTAO COULD YOU BE SO KIND TO CONFIRM THIS IF POSSIBLE Could you be so kind to test FF as a plugin of Photoshop (or other host)and confirm if you can use Filter Forge as a plugin of Photoshop (or another host) without the "bad allocation" error ? . You only need to have a 3000x3000 photo, or better higher. ALSO this is of course and welcomed if any other one wants to make the same test Thanks very much for your help |
|||
Posted: March 21, 2012 2:50 am | ||||
Morgantao
![]() |
I can't seem to reproduce the error...
Using the standalonen version I let my copmuter choke on 12MP (and higher) images, using this and other filters. While my computer totaly froze for periods of 12 minutes at a time (mouse was choppy, numlock took a while to turn on/off), it still produced the results with no errors. I can even tell you I haven't reboot the computer in a few days, and I have around 15 IE windows open for all that time, Chrome windows open for all that time. In fact, every other thing I do in IE causes it to crash and reloard the page... But FF did the job. |
|||
Posted: March 21, 2012 1:37 pm | ||||
SpaceRay
![]() |
Thanks very much for telling me your experience and know that on your side it works fine and right without any errors, you are very lucky. I have MANY times the "bad allocation" error and until now I have not realized that if using FF inside Photoshop it did not give the same error YES, the same as you, also in my Photoshop some few times can be frozen until it renders it all that takes about 20 minutes to make a 4000 x 4000 photo BUT ends well without errors. |
|||
Posted: March 21, 2012 6:52 pm |
Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!
33,711 Registered Users
+18 new in 30 days!
153,531 Posts
+39 new in 30 days!
15,347 Topics
+72 new in year!
22 unregistered users.