Replies: 4 comments 7 replies
-
Can you please provide more context? If you are using a device with PSRAM or not, size of the memory and elements like this to help understanding the code issue. My bet: you're using a device with too limited memory and there is not enough to allocate. |
Beta Was this translation helpful? Give feedback.
-
/// /// update /// /// [Route("hub/update")] [CaseSensitive] [Method("POST")] public void Update(WebServerEventArgs e) { try { // Get the param from the body Debug.WriteLine(e.Context.Request.ContentLength64.ToString()); byte[] buff = new byte[e.Context.Request.ContentLength64]; e.Context.Request.InputStream.Read(buff, 0, buff.Length);
} |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I was just trying to upload a 60kb binary file via the webserver post on the board, and this problem occurred |
Beta Was this translation helpful? Give feedback.
-
It starts at about 15,000 bytes, and the rest of the data is lost
Beta Was this translation helpful? Give feedback.
All reactions