I have a server module call that returns a list of users; names, date-of-birth etcetera and their photos as blobs. I recently had one call fail but no fail event was raised - it simply hung. I traced into the servermodule and there was no error. Chrome Network trace showed that a 'vlweb error- internal failure' occurred. I don't have the exact words. Further troubleshooting revealed that the issue was one user who's photo, rather than being the expected 100K was 4 megs. Resizing this user's image fixed the problem.
My question is, although the image was not as it should have been 4 meg doesn't seem excessively large and I'm surprised that a blob of this size should prove fatal to a ServerModule. Is there a size limit?
ServerModule - Response size
- Stewart Marshall
- Posts: 417
- Joined: Thu Nov 05, 2015 5:25 pm
Re: ServerModule - Response size
Hi Jim
There's no code in VL that explicitly limits response sizes and no reason that we know that a 4Mb object would cause an issue on its own.
The tech guys tell me that there is a potential limit on the size of a piece of memory of 16M on IBM i, which occurs if you're not using teraspace.
How big was the response object?
Regards
There's no code in VL that explicitly limits response sizes and no reason that we know that a 4Mb object would cause an issue on its own.
The tech guys tell me that there is a potential limit on the size of a piece of memory of 16M on IBM i, which occurs if you're not using teraspace.
How big was the response object?
Regards
Re: ServerModule - Response size
Looking back at the photo in question I see that it was 6.56 meg.
I can't how tell how big the response object is as it crashes on the iSeries and the Chrome Network shows only 'vlweb - unknown error..' as the return code. It seems that it is crashing while building a response object.
I know that a 'normal' user photo would be around 40k and the response object wouldn't be much larger. The uuencoding apparently makes the image about 35% bigger so I image with the user in question the response object would be around 10 meg.
I can't how tell how big the response object is as it crashes on the iSeries and the Chrome Network shows only 'vlweb - unknown error..' as the return code. It seems that it is crashing while building a response object.
I know that a 'normal' user photo would be around 40k and the response object wouldn't be much larger. The uuencoding apparently makes the image about 35% bigger so I image with the user in question the response object would be around 10 meg.
- Stewart Marshall
- Posts: 417
- Joined: Thu Nov 05, 2015 5:25 pm
Re: ServerModule - Response size
Hi Jim
Crashing on the server is definitely a bad thing. Hopefully there will be a joblog.
Can you please report this to support team
Regards
Crashing on the server is definitely a bad thing. Hopefully there will be a joblog.
Can you please report this to support team
Regards
Re: ServerModule - Response size
Ok, I'll build a test case.
- Stewart Marshall
- Posts: 417
- Joined: Thu Nov 05, 2015 5:25 pm
Re: ServerModule - Response size
Hi Jim
We found an issue while tinkering with this. Hopefully the fix coming in SP2 will resolve your issues.
Regards
We found an issue while tinkering with this. Hopefully the fix coming in SP2 will resolve your issues.
Regards
Re: ServerModule - Response size
Great to hear Stewart. (SP2 is looking to be epic - can't wait!)