Where does data2 come from? If you trace that back, you should be able to see why it is the wrong array or size.
On Tue, Jul 21, 2015 at 3:41 PM, Pawel Misiurski <[email protected]> wrote: > Hi I'm completely new to Emscripten and I have a problem which I posted on > stack overflow, but it's a very niche thing I'm trying to find someone who > tried this already. > > http://stackoverflow.com/questions/31550198/emscripten-uncaught-rangeerror-source-is-too-large-multiple-float32arrays > > It looks like once an array has been added to Emscripten's Heap it > contains all it's data(only in the buffer).Therefore when trying to send it > again to this function I'm getting "Source is too large" error. After 2 > days maybe I'm missing something or maybe my code is completely wrong? I > only want to add that it is not caused by my C++ code because even after > commenting out the function call I'm still getting the error. > > Thanks for help and in the meantime I'm coming back to pulling my hair out. > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
