Vladimir Golovin
Administrator |
We’ve just fixed a bug that may have been a cause of the infamous "Bad Allocation" error that occurs during rendering of large images. It should also improve rendering stability in general. The fix not yet available as an automatic update, so you have to download and install it manually.
Here’s a Filter Forge 3.012 installer with the bugfix: Filter Forge 3 Setup (Bad Alloc Fix).exe Update: the link above now points to a second, updated version of the fixed executable that includes some clever tricks to reduce address space fragmentation, which, we believe, is the primary cause of the Bad Allocation error. Please give it a run and post the results here. |
|||
Posted: February 8, 2013 10:18 am | ||||
Sharandra
![]() |
Oh that´s good news!
![]() Testing it right now! Fingers crossed! |
|||
Posted: February 8, 2013 10:40 am | ||||
Skybase
![]() |
! Very nice!
|
|||
Posted: February 8, 2013 10:53 am | ||||
Vladimir Golovin
Administrator |
Sharandra, any results?
|
|||
Posted: February 8, 2013 2:15 pm | ||||
Sharandra
![]() |
Yeah, unfortunately still getting the bad allocation error.
![]() It did fix the issues I had with rendering tho. It also doesn´t lock up other programs while rendering anymore. |
|||
Posted: February 8, 2013 2:37 pm | ||||
Igor Lorents
Posts: 39 |
Dang, it looks like we've fixed the wrong sh#t... ![]() Well, that's something at least. Gonna keep tryin'. Thank you for testing and feedback, Sharandra! |
|||
Posted: February 8, 2013 3:33 pm | ||||
Vladimir Golovin
Administrator |
Sharandra, could you please post the offending filter and describe the rendering conditions, e.g. pixel resolution, Mac or Win and which version, etc.?
|
|||
Posted: February 9, 2013 3:04 am | ||||
Sharandra
![]() |
Filter was Flagstones, first Preset at 4096x4096,
Windows 7 Home Premium SP1 64bit, Intel Core I5 760, 16GB RAM, GForce GTX 460. I did send a bugreport too, after the testrun. |
|||
Posted: February 9, 2013 5:50 am | ||||
Vladimir Golovin
Administrator |
Sharandra, we copied the bug report to a file and I removed it from the thread (it was really huge).
|
|||
Posted: February 11, 2013 6:09 am | ||||
Sharandra
![]() |
Great!
![]() |
|||
Posted: February 11, 2013 8:00 am | ||||
Vladimir Golovin
Administrator |
We've updated the fixed installer (the download link is the same, see the first post of the thread). It now includes several improvements that reduce memory fragmentation, which, we believe, is the primary cause of the Bad Allocation error.
Please give it a try and report the results here. |
|||
Posted: February 13, 2013 9:09 am | ||||
Sharandra
![]() |
Just did a test and was able to render a 4096x4096 image of the Flagstones filter without a bad allocation error!
![]() ![]() ![]() ![]() |
|||
Posted: February 13, 2013 12:25 pm | ||||
Vladimir Golovin
Administrator |
Good. My work PC is currently rendering the same filter at same resolution, and when I went home it was at approximately 80% -- and that after my constant zooming and panning of the preview (which messes up the cache).
So it seems that the new tricks helped -- and we still have one more up our sleeve. Now we have to figure out whether they still continue to work at 64000x64000 pixels. I guess Flagstones would be too heavy for this, so we'll need to find a simpler test case (like the Perlin / Blur combo suggested in one of the bad alloc threads). |
|||
Posted: February 13, 2013 12:30 pm | ||||
Sharandra
![]() |
Hmm, I´ll have a look through my filters, maybe I have a simple filter that I could use for a test at that huge size.
|
|||
Posted: February 13, 2013 12:35 pm | ||||
CFandM
![]() |
It seems to load images quicker as well as render quicker...
![]() ![]() ![]() Stupid things happen to computers for stupid reasons at stupid times! |
|||
Posted: February 13, 2013 12:44 pm | ||||
Igor Lorents
Posts: 39 |
I've started to render blurred checker 64k x 64k. Not sure it'll be done by the morning though
![]() |
|||
Posted: February 13, 2013 3:16 pm | ||||
Sharandra
![]() |
Hehe, mine might be done in the morning if the error doesn´show up. Blurred Packing Paper as simple filter, only a few percent in yet.
I immediately got the error in 4.0 at that size. |
|||
Posted: February 13, 2013 4:51 pm | ||||
Vladimir Golovin
Administrator |
I started a blurred checker too, but it didn't finish -- I forgot to set the swap location in FF options to a larger HDD
![]() Now I'm trying to render a simple 64000x64000 perlin noise, should be a bit faster than a night. |
|||
Posted: February 14, 2013 2:06 am | ||||
Sharandra
![]() |
Mine didn´t finish either, I forgot to turn off sleep mode, so it´s still rendering and not very far >.<
![]() |
|||
Posted: February 14, 2013 4:51 am | ||||
Igor Lorents
Posts: 39 |
I didn't forget to move the Filter Forge cache to the large and slow HDD.
Anyway, it has been rendering for 15 hrs and still no sight of the first block ![]() |
|||
Posted: February 14, 2013 6:02 am | ||||
Sharandra
![]() |
I cancelled mine, because I need my PC for other things now, but can do another run tonight.
Maybe some of those, who need extremely large renders could do some tests aswell, as it´s important for them. I usually don´t need anything above 4096x4096, so I´m personally satisfied with being able to render that in standalone now. ![]() |
|||
Posted: February 14, 2013 7:40 am | ||||
Vladimir Golovin
Administrator |
Sharandra, same here -- I had to cancel mine too. The intermediate results, however, were pretty encouraging. When I cancelled it, it was about 30% complete, with the first pass of progressive preview fully covering the preview area. The GUI was responsive to zooming and panning, and the machine in general remained responsive as well -- I worked with my Excel spreadsheets just fine while FF rendered in background (though it must be noted that I have Windows installed on an SSD, and FF swap is directed to a separate mechanical HDD).
Anyway, I'll attempt another approach as soon as I have an appropriate time window ![]() |
|||
Posted: February 14, 2013 8:40 am | ||||
Sharandra
![]() |
I did another test overnight, but it´s only at 20% yet. but running smoothly so far.
|
|||
Posted: February 15, 2013 8:12 am | ||||
Vladimir Golovin
Administrator |
I'm postponing my 64000x64000 tests until the next week, but I can say that we rendered your Flagstones filter in 4096x4096 countless times under various conditions without any problems.
|
|||
Posted: February 15, 2013 11:18 am | ||||
SpaceRay
![]() |
Very good news that finally it seems that there is a possible solution to this BAD bug and that it seems that it works from the tests done above
I have just installed it and will test it and see what happens. I think that the highest resolution that would be really used is about 15000-20000 or around this amount, as I do not see anyone needing a 64000 resolution, or at least one in a million. Thanks very much for making this fix and I hope that finally this really has been fixed |
|||
Posted: February 15, 2013 6:54 pm | ||||
Vladimir Golovin
Administrator |
I'm reserving my final verdict until I have the results of 64000x64000px tests, but it does seem that we've fixed the Bad Alloc bug. The executable that will be rolled out as a v3.0 update will include some additional fixes that should be helpful as well. For example, if you still encounter the Bad Alloc bug somehow, you'll be able to dial down the memory consumption slider in FF options to reserve some address space for fragmentation (this is not yet available in the current build linked in the original post).
We're now hunting the last remaining rendering bug, this one: http://filterforge.com/forum/read.php?FID=8&TID=10882 |
|||
Posted: February 16, 2013 3:20 am | ||||
Sharandra
![]() |
Great! Will you update the Beta build aswell?
I gave up on the 64000x64000 tests, because it would take several days to finish. |
|||
Posted: February 16, 2013 5:45 am | ||||
Vladimir Golovin
Administrator |
Regarding the beta: we won't update the current beta but we'll include the fix into the Beta 2, which should be out soon.
|
|||
Posted: February 16, 2013 11:27 am | ||||
StevieJ
![]() |
Anyone have results with new update to fix "Bad Allocation" render error???
Steve
"Buzzards gotta eat...same as worms..." - Clint :) |
|||
Posted: February 27, 2013 8:28 am | ||||
SpaceRay
![]() |
I have just downloaded the newest upd ate and will test it more and see if I still get the "Bad allocation" or not.
In the first two tests, one with a 6000 x 6000 image it did WORK without any problem, I have to say that before this was not possible ![]() AND much more important with a 14500 x 8500 image and the Dropshards filter when it has reached 99% after rendering it finally gave the "Bad alocation" error ![]() I have not changed any of the settings, and it keeps to be RAM = 85% |
|||
Posted: February 27, 2013 3:22 pm | ||||
ThreeDee
![]() |
I am using FF 3.014 and I get the "Bad Allocation" error on a 10000x10000 image. I can resolve it for the rendering stage by turning off progressive previews, but then it reappears and crashes FF on trying to save the image.
On testing further, it crashes on save if I have an input image of that size loaded. Starting with a new blank image, it saved fine. |
|||
Posted: July 30, 2013 12:23 pm | ||||
SpaceRay
![]() |
Since the last fix I have not had as much of "bad allocation" errors, BUT is also true that most of the things I have been doing are with less than 6000x5000 and when I made the 10.000x10.000 test for StevieJ I did not get the "bad allocation" error but this does not mean that does not happen, it only happens less than before, but still exists and is there sometimes.
|
|||
Posted: July 30, 2013 6:59 pm | ||||
GMM
Moderator
Posts: 3491 |
ThreeDee, have you tried moving the memory usage slider in FF options to somewhere around 60%?
|
|||
Posted: July 31, 2013 4:11 am |
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
+36 new in 30 days!
15,347 Topics
+72 new in year!
13 unregistered users.