Didier Posted September 23, 2020 Share Posted September 23, 2020 Hi, I'm using runtime v1.90.0.1531. hyperserver v1.90.0.1513 I tried to upload files and when file size is > 280 Mo i got this error : submitFile(): expected expression, got '<' Can someone help me please ? Thank you, Didier Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 23, 2020 Share Posted September 23, 2020 3 hours ago, Didier said: I tried to upload files and when file size is > 280 Mo i got this error : Hi, Can you provide more information, especially the file name? Quote Link to comment Share on other sites More sharing options...
Didier Posted September 24, 2020 Author Share Posted September 24, 2020 hi, For sample : GitHubDesktopSetup.zip but it doesn't work with other files like this Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 24, 2020 Share Posted September 24, 2020 18 hours ago, Didier said: submitFile(): expected expression, got '<' There was a similar case, but the problem was in the file name... Quote Link to comment Share on other sites More sharing options...
Didier Posted September 24, 2020 Author Share Posted September 24, 2020 it's not the file name the problem. if i rename my file in "toto.zip", it's the same problem Maybe apach serveur ? I put LimitRequestBody 314572800 (300Mo) This morning i could upload one time my file (on about 20 try ...). memory on my serveur increase but stay at 50%. It's not this. it's only on big files. I use your TUniFileUploadButton Quote Link to comment Share on other sites More sharing options...
delagoutte Posted March 25, 2021 Share Posted March 25, 2021 hi , i work with @Didier i have more information : we use hyperserver with apache. when the problem appear in our app there is an message in log file of hyperserver dll hyperserver.dll: 000011F4: 11:19:27 [TUniHyperServer.HandleHTTPRequest(), Node:[3]]:Out of memory hyperserver.dll: 000011F4: 11:19:27 [HttpExtensionProc[185.182.168.43]]:EOutOfMemory : Out of memory : Addr: $01A1D146 we have got 8Go of RAMon the server ,and we used only 25% of RAM Quote Link to comment Share on other sites More sharing options...
Oliver Morsch Posted March 25, 2021 Share Posted March 25, 2021 27 minutes ago, delagoutte said: we have got 8Go of RAMon the server ,and we used only 25% of RAM Is your app 32bit? Then the max used size is 2 GB. Quote Link to comment Share on other sites More sharing options...
delagoutte Posted March 25, 2021 Share Posted March 25, 2021 yes i know , yes it is a 32 bits app but we are far from this limit. and the message is not in our app but in the hyperserver log. we use apache 32 bits and hyperserver 32 bits. if we were near the limit of 2Gb, i think i'll try use apache and hyperserver 64 bits but it seems we are far this limit. Quote Link to comment Share on other sites More sharing options...
delagoutte Posted March 25, 2021 Share Posted March 25, 2021 i continue investigation for trying reproduce the problem. on our test server where i am am alone : i send with multiupload 5 * files 212Mo : ok i open 2 session and on each session i send with multiupload 5 * files 212Mo : KO submitFile(): expected expression, got '<' in console i open 2 session and on each session i send with multiupload 5 * files 90 Mo : OK i open 2 session and on each session i send with multiupload 5 * files 120 Mo : OK i open 2 session and on first session 5 * files 120 Mo and on second session 5 * files 212Mo : OK i retry with 2 session with 5*212Mo : KO it not seems have memory leak, the memory before test and after test are the same Like you could see we are far from 2Gb One of problem, if you send a file with size 200 Mo the memory used in ressource have a peak to 400Mo . it would be better if the upload was done by packet with unigui upload component. Without this upload by packet i can't have many session that can upload simultaneously Have you got an idea for fixi this problem ? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 25, 2021 Share Posted March 25, 2021 2 hours ago, delagoutte said: KO submitFile(): expected expression, got '<' in console On 9/24/2020 at 1:58 PM, Sherzod said: Quote Link to comment Share on other sites More sharing options...
delagoutte Posted March 26, 2021 Share Posted March 26, 2021 i already see this post where you add escape on filename "&filename=" + escape(file.name) but the problem is not in the filename Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.