Jump to content

Not Enough Memory Error


Ratchet

Recommended Posts

I don't know what to do anymore first I had the error when I tried to paste something in and now if I try to make a third layer it gives me this error here: PaintDotNet.HistoryFunctions.HistoryFunctionNonFatalException: Non-fatal exception encountered ---> System.OutOfMemoryException: VirtualAlloc returned a null pointer, bytes = 156.250.000 ---> System.AggregateException: One or more errors occurred. ---> System.OutOfMemoryException: VirtualAlloc returned a null pointer, bytes = 156.250.000 ---> System.AggregateException: One or more errors occurred. ---> System.OutOfMemoryException: VirtualAlloc returned a null pointer, bytes = 156.250.000
   at PaintDotNet.SystemLayer.Memory.AllocateLarge(UInt64 bytes, Boolean zeroFill) in D:\src\pdn\src\SystemLayer\Memory.cs:line 161
   at PaintDotNet.MemoryBlock.<>c__DisplayClass40_0.<Allocate>b__0() in D:\src\pdn\src\Core\MemoryBlock.cs:line 375
   at PaintDotNet.Runtime.RetryManager.<>c__DisplayClass5_0`1.<RunMemorySensitiveOperation>b__0() in D:\src\pdn\src\Base\Runtime\RetryManager.cs:line 129
   at PaintDotNet.Runtime.RetryManager.RunMemorySensitiveOperation(Int32 maxAttempts, Action action) in D:\src\pdn\src\Base\Runtime\RetryManager.cs:line 158
   --- 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 144
   at PaintDotNet.Runtime.RetryManager.RunMemorySensitiveOperation[T](Int32 maxAttempts, Func`1 func) in D:\src\pdn\src\Base\Runtime\RetryManager.cs:line 132
   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 242
   at PaintDotNet.BitmapLayer..ctor(Int32 width, Int32 height, ColorBgra fillColor) in D:\src\pdn\src\Data\BitmapLayer.cs:line 298
   at PaintDotNet.HistoryFunctions.AddNewBlankLayerFunction.<>c__DisplayClass0_0.<OnExecute>b__0() in D:\src\pdn\src\PaintDotNet\HistoryFunctions\AddNewBlankLayerFunction.cs:line 20
   at PaintDotNet.Runtime.RetryManager.<>c__DisplayClass5_0`1.<RunMemorySensitiveOperation>b__0() in D:\src\pdn\src\Base\Runtime\RetryManager.cs:line 129
   at PaintDotNet.Runtime.RetryManager.RunMemorySensitiveOperation(Int32 maxAttempts, Action action) in D:\src\pdn\src\Base\Runtime\RetryManager.cs:line 158
   --- 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 144
   at PaintDotNet.Runtime.RetryManager.RunMemorySensitiveOperation[T](Int32 maxAttempts, Func`1 func) in D:\src\pdn\src\Base\Runtime\RetryManager.cs:line 132
   at PaintDotNet.HistoryFunctions.AddNewBlankLayerFunction.OnExecute(IHistoryWorkspace historyWorkspace) in D:\src\pdn\src\PaintDotNet\HistoryFunctions\AddNewBlankLayerFunction.cs:line 19
   at PaintDotNet.HistoryFunctions.HistoryFunction.Execute(IHistoryWorkspace historyWorkspace) in D:\src\pdn\src\PaintDotNet\HistoryFunctions\HistoryFunction.cs:line 55
   --- End of inner exception stack trace ---
   at PaintDotNet.HistoryFunctions.HistoryFunction.Execute(IHistoryWorkspace historyWorkspace) in D:\src\pdn\src\PaintDotNet\HistoryFunctions\HistoryFunction.cs:line 82
   at PaintDotNet.Controls.DocumentWorkspaceExtensions.ApplyFunction(DocumentWorkspace dw, HistoryFunction function) in D:\src\pdn\src\PaintDotNet\Controls\DocumentWorkspaceExtensions.cs:line 58 please someone help me

Link to comment
Share on other sites

7 minutes ago, Pixey said:

Hello @Ratchet and Welcome :D.

 

There is a thread about this, which may apply:

 

Thanks and I already saw that but I don't know how to fix it..

 

Link to comment
Share on other sites

OK - I'm sure a tech-minded member will be along soon to help you :).

 

Meanwhile it's probably worth checking out the requirements here.

30b8T8B.gif

How I made Jennifer & Halle in Paint.net

My Gallery | My Deviant Art

"Rescuing one animal may not change the world, but for that animal their world is changed forever!" anon.

 
Link to comment
Share on other sites

On 8-7-2017 at 9:08 PM, Pixey said:

OK - I'm sure a tech-minded member will be along soon to help you :).

 

Meanwhile it's probably worth checking out the requirements here.

Hey so uhhm idk what to do its still giving me this error I didn't used to have this error but idk why I think I accidentally uninstalled paint.net and then I downloaded it again and it kept gaving me this error

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...