Ishi Posted December 12, 2019 Share Posted December 12, 2019 I am still on v 4.2.7 and was offline for over a week. I do not know if this has been addressed with v.4.2.8 but the changelog does not say so. When I tried to resize an image that is 1489x1013 to 300% with 4 layers, I get an error dialog of not enough memory. I have a smaller image opened and when I close that, the resize did work one time. Its a relatively small image and I do not know why PDN would list that as not enough memory when I have a significant amount of free RAM even with a 2GB laptop. Here is the crashlog: Application version: paint.net 4.2.7 System.OutOfMemoryException: VirtualAlloc returned a null pointer, bytes = 59,857,800 ---> System.AggregateException: One or more errors occurred. ---> System.OutOfMemoryException: VirtualAlloc returned a null pointer, bytes = 59,857,800 at PaintDotNet.SystemLayer.Memory.AllocateLarge(UInt64 bytes, Boolean zeroFill) in D:\src\pdn\src\SystemLayer\Memory.cs:line 155 at PaintDotNet.MemoryBlock.<>c__DisplayClass40_0.<Allocate>b__0() in D:\src\pdn\src\Core\MemoryBlock.cs:line 375 at PaintDotNet.Runtime.RetryManager.<>c__DisplayClass7_0`1.<RunMemorySensitiveOperation>b__0() in D:\src\pdn\src\Base\Runtime\RetryManager.cs:line 139 at PaintDotNet.Runtime.RetryManager.RunMemorySensitiveOperation(Int32 maxAttempts, Action action) in D:\src\pdn\src\Base\Runtime\RetryManager.cs:line 168 --- End of inner exception stack trace --- --- End of inner exception stack trace --- at PaintDotNet.Runtime.RetryManager.RunMemorySensitiveOperation(Int32 maxAttempts, Action action) in D:\src\pdn\src\Base\Runtime\RetryManager.cs:line 154 at PaintDotNet.Runtime.RetryManager.RunMemorySensitiveOperation[T](Int32 maxAttempts, Func`1 func) in D:\src\pdn\src\Base\Runtime\RetryManager.cs:line 142 at PaintDotNet.MemoryBlock.Allocate(Int64 bytes, MemoryBlockAllocFlags flags) in D:\src\pdn\src\Core\MemoryBlock.cs:line 370 at PaintDotNet.MemoryBlock..ctor(Int64 bytes, MemoryBlockAllocFlags flags) in D:\src\pdn\src\Core\MemoryBlock.cs:line 275 at PaintDotNet.Surface..ctor(Int32 width, Int32 height, SurfaceCreationFlags surfaceCreationFlags) in D:\src\pdn\src\Core\Surface.cs:line 244 at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass7_1.<PerformAction>b__1(Task task) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 359 Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted December 12, 2019 Share Posted December 12, 2019 It's not lying, it's not a bug You just don't have enough memory available to complete the operation. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.