Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Socket.IO malloc: *** error: can't allocate region #600

Closed
Saulenco opened this issue Dec 20, 2016 · 4 comments
Closed

Socket.IO malloc: *** error: can't allocate region #600

Saulenco opened this issue Dec 20, 2016 · 4 comments

Comments

@Saulenco
Copy link

Hi I have some issue dequeueInput function
3bc16a82-b195-11e6-994f-836f850466fe

as you can see in the image. The app works fine on the simulator but on real device i keep getting this crash.

i changed the: var combine = NSData(data: fragBuffer) as Data
into: var combine:Data = fragBuffer
but i guess that is not thread safe .

can you please suggest other solution?

@nuclearace
Copy link
Member

Does this happen with large payloads? This is an issue with the websocket library itself.

@Saulenco
Copy link
Author

the data that i receive is around the 2- 3 Mb
a small example
NSInvalidArgumentException', reason: '*** NSAllocateMemoryPages(2261002) failed

@nuclearace
Copy link
Member

daltoniam/Starscream#289 Looks like a known issue.

@Saulenco
Copy link
Author

Thanks dude that helped , i guess that my google search skills still suck :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants