Open MihaelIsaev opened 8 years ago
Hello!
First time I receive from server long gzipped string, size of string about 30KB - and all fine, but if I request this big string again then it fails with error listed below:
WebSocket.swift 344: processInputStream() WebSocket.swift 391: dequeueInput() WebSocket.swift 411: processRawMessage(buffer, bufferLen: length) WebSocket.swift 536: let isFin = (FinMask & buffer[0])
It fails on this line with message: _(1208,0x1f197000) malloc: * mach_vm_map(size=1941504) failed (error code=3) * error: can't allocate region_
How to prevent this problem? Reconnect doesn't solve his issue.
This'll probably be fixed in a Websocket patch
Hi guys any update on this issue? had the same error.
Hello!
First time I receive from server long gzipped string, size of string about 30KB - and all fine, but if I request this big string again then it fails with error listed below:
It fails on this line with message: _(1208,0x1f197000) malloc: * mach_vm_map(size=1941504) failed (error code=3) * error: can't allocate region_
How to prevent this problem? Reconnect doesn't solve his issue.