x


Plugin running out of memory

Hi all,

I wrote an objective C plugin that loads a png file, does some filtering and unloads the file. The plugin runs fine if i compile it into an executable and run it. When i load it up in unity i can call all the functions that set parameters, but when i call the function that decodes the png file unity crashes claiming it has ran out of memory. I'm using LodePNG to decode the image. My application does no dynamic memory management other than what lodepng might do in the background. Does anyone have any ideas as to why this might be happening?

more ▼

asked Jul 24 '12 at 08:41 PM

codefactor gravatar image

codefactor
1 1

(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x407
x343

asked: Jul 24 '12 at 08:41 PM

Seen: 209 times

Last Updated: Jul 24 '12 at 08:41 PM