Forum

Author Topic: Bad allocation  (Read 5789 times)

tywoky

  • Newbie
  • *
  • Posts: 5
    • View Profile
Bad allocation
« on: November 16, 2018, 01:42:25 PM »
Hi,

New to PS and having problems.
I'm getting Bad allocation when trying to build texture. Searched a bit here and many say its lack of memory.
Really dont think this is a problem. 32Gb Ram, 2 x 4Gb RX 570 GPU. Alot of virtual memory allocated.
Is there some settings i'm missing?

Thanks for looking/replying

tywoky

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Bad allocation
« Reply #1 on: November 16, 2018, 01:44:35 PM »
Script from one such failure:

2018-11-16 11:27:53 BuildTexture: mapping mode = Generic, texture count = 1, blending mode = Disabled, texture size = 4096, fill holes = 0, ghosting filter = 0
2018-11-16 11:27:53 Parameterizing texture atlas...
2018-11-16 11:28:33 Packing 31 charts
2018-11-16 11:28:44 Parameterizing done in 50.579 sec
2018-11-16 11:28:44 Blending textures...
2018-11-16 11:28:44 blending textures... ?????????*******Finished processing in 55.001 sec (exit code 0)
2018-11-16 11:28:48 Error: bad allocation

Not a big model. 108 cameras, 147228 points

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15117
    • View Profile
Re: Bad allocation
« Reply #2 on: November 16, 2018, 04:07:19 PM »
Hello tywoky,

Can you please also post the first lines from the Console pane that are shown when you just open a new PhotoScan instance?
Best regards,
Alexey Pasumansky,
Agisoft LLC

tywoky

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Bad allocation
« Reply #3 on: November 16, 2018, 04:21:10 PM »
Hi Alexey,

Seems to be self solved. I've just reinstalled PS and now everythings good.

Thanks for your reply.

Dave

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15117
    • View Profile
Re: Bad allocation
« Reply #4 on: November 16, 2018, 07:46:20 PM »
Hello Dave,

Probably you have got 32-bit version of PhotoScan installed previously.
Best regards,
Alexey Pasumansky,
Agisoft LLC

tywoky

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Bad allocation
« Reply #5 on: November 18, 2018, 12:16:11 PM »
Thats exactly what happened  ;)