Hello All,

I am getting below error while syncing data from server to local device. There are more than 10 pdf files which i want to show in offline mode. That's the reason I am syncing it to the local.

"A fatal error has occurred. Please contact OutSystems support: Failed to allocate a 72513992 byte allocation with 25165824 free bytes and 45MB until OOM, target footprint 245940288, growth limit 268435456"

Any pointer would help

Thanks & Regards

Prajakta Roshankhede

Hi Prajakta,

This question is asked before and has an answer marked as solution 

 https://www.outsystems.com/forums/discussion/35792/i-am-getting-error-while-doing-sync-from-local-database-to-server/

Maybe it can help you.

Regards,

Daniel

Daniël Kuhlmann wrote:

Hi Prajakta,

This question is asked before and has an answer marked as solution 

 https://www.outsystems.com/forums/discussion/35792/i-am-getting-error-while-doing-sync-from-local-database-to-server/

Maybe it can help you.

Regards,

Daniel


Hello Daniel,

My problem is different. For Rajat he is sending local data to server in my case I am fetching data from server to local.

And again I want this functionality in offline mode. Will compression/ decompression work in offline mode??


Thanks

Prajakta

Solution

Ok, then ignore my post. Devices depending on the OS (version) and browsers have different local storage capacities. 

How do you store the downloaded data in OutSystems Local Entities. The IndexedDB capacitities for different browser can be found here: https://www.html5rocks.com/en/tutorials/offline/quota-research/

Did you consider the https://www.outsystems.com/forge/component-overview/1633/file-plugin Forge component to directly store the downloaded files in the device storage and not the browser local storage (where the OutSystems Local Entities are).

Regards,

Daniel

Solution

Daniël Kuhlmann wrote:

Ok, then ignore my post. Devices depending on the OS (version) and browsers have different local storage capacities. 

How do you store the downloaded data in OutSystems Local Entities. The IndexedDB capacitities for different browser can be found here: https://www.html5rocks.com/en/tutorials/offline/quota-research/

Did you consider the https://www.outsystems.com/forge/component-overview/1633/file-plugin Forge component to directly store the downloaded files in the device storage and not the browser local storage (where the OutSystems Local Entities are).

Regards,

Daniel

Thanks Daniel, this solution sound promising to me. I will get back to you if I face any issue.