[Error] Out of Memory Error

Hello, I am an application developer, I extract data from the device by wifi, I save this data in the database and generate json, but this json generates a memory error


Is this error because of the length of String? what is the maximum length of a string?

Thanks

I guess like you think

The below StackOverflow topic has a solution to the problem.

I see in that publication that it has the problem with an image, my solution was to reduce the length of the string by taking fewer packages, it works but it is not optimal.

1 Like