I've started playing with JCEF3 recently to build a small Java application with a HTML user interface.
I use a custom scheme handler to POST data from Javascript to the JVM.
For example:
- Code: Select all
$.ajax({
type: "POST",
url: "URL",
data: longJsonString,
success: function(){console.log("ok");},
dataType: "json",
contentType : "application/json",
failure: function(errMsg) {
alert(errMsg);
}
});
I post some files encoded in BASE64. I noticed that if I post 10Mb of data, the process JCEF_HELPER.exe climbs suddenly from 16Mb to 240Mb. Anyone knows what can be done to optimize the memory?
Thanks in advance.