Author Topic: Internal error - Bad Allocation  (Read 5172 times)

2016-11-30, 17:18:52

adamadam

  • Active Users
  • **
  • Posts: 62
    • View Profile
Error report from clipboard:

===== Error(3) =====
Internal error. Please report it at https://corona-renderer.com/link/2001:
Bad allocation
Wanted to allocate: 346MB
Used virtual memory: 47013MB
Total virtual memory: 47018MB

Stack trace:
 6 Corona::preAssert  0x7ff9bacc8540
 5 Corona::coronaMalloc  0x7ff9bacc9510
 4 Corona::PropertyDescriptor::getNth  0x7ff9a5ccc9b0
 3 Corona::IFrameBuffer::ExrStats::fromString  0x7ff9a5dbfca0
 2 Corona::IFrameBuffer::ExrStats::fromString  0x7ff9a5dbfca0
 1 Corona::IFrameBuffer::ExrStats::fromString  0x7ff9a5dbfca0
 0 CanAutoDefer  0x7ff9baa57aa0


This popped up at render time. It's possible it's something else than Corona because my whole system is flaking out (Photoshop just took about 5mins to launch after first crashing out) but I'm still reporting it because the error box asked me to :)

Windows 10, Max 2017, Corona 1.5 hotfix 2

2016-11-30, 17:56:09
Reply #1

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
well... you are out of RAM ;) even though not all RAM is currently being used, it is already allocated (also including page file). One solution would be to increase page file. But I would like to see the scene to determine why so much RAM was allocated without it being used. It may be also other process in windows... if it happens again, you can try displaying column "commit size" in task manager to see which application took all your RAM.
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2016-11-30, 18:05:04
Reply #2

adamadam

  • Active Users
  • **
  • Posts: 62
    • View Profile
0_o

I've not seen the commit size thing before.

If it happens again (seems OK for now) I'll send scene and more details.

Thanks Ondra.

2016-11-30, 18:43:54
Reply #3

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
it is visible in the task manager window (*thank you* for screenshotting correct tab of task manager ;)) - either though you have only 11.6/32 GB of memory used (which means that the operating system decided to keep 11.6 GB of data in the physical RAM because some application touched it recently), you have 45.9/45.9 commited. This means that applications requested to use 46GB RAM total (but did not actually get to using it, which is why the memory usage is lower).
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2017-03-21, 15:45:22
Reply #4

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
ok, let us know if you have more info, I am moving this to resolved in mean time
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)