× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Not sure, but confirm you are setting/initializing all length fields.

If that does not help, post code source that results in a simple recreate



"WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx> wrote on 07/15/2019 10:39:59
PM:

From: Stephen Piland <Stephen@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
To: "web400@xxxxxxxxxxxxxxxxxx" <web400@xxxxxxxxxxxxxxxxxx>
Date: 07/15/2019 10:40 PM
Subject: [EXTERNAL] [WEB400] IWS OutOfMemoryError / Java Heap Space
Sent by: "WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx>

When calling a REST/GET web service on a 7.1 OS machine to a IWS WS
2.6, I'm getting the following response...

Error 500: javax.servlet.ServletException:
java.lang.OutOfMemoryError: Java heap space

The other WS that is a POST works fine. The web service job
contains all kinds messages in the joblog about dumps/snaps from the
JVM. It previously worked on another box but now this odd behavior.
I'm not sure where to start digging.

I bumped up min/max memory in to WS config and restarted the server.
Same results. I'm able to debug and walk thru RPG code in RDI but
when RETURN occurs, the dumps and errors happen.

Other things of possible note.. This get uses a manually doctored
PCML that was necessary because of varchar on 7.1. I believe same
PTFs are applied as previous development server.

Any thoughts would be appreciated.


--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://urldefense.proofpoint.com/v2/url?

u=https-3A__lists.midrange.com_mailman_listinfo_web400&d=DwICAg&c=jf_iaSHvJObTbx-
siA1ZOg&r=1i-jGlz0-JTK1aLHcsU-
ew&m=x_MtiRgo5DtiRnpkDQBNvfLhD81nsjF8l3qzZc3Km-
E&s=ua2GxwaMuSRmq44vS_TcIVTDtF1MIQ9YdOjDu2QR_jc&e=
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://urldefense.proofpoint.com/v2/url?
u=https-3A__archive.midrange.com_web400&d=DwICAg&c=jf_iaSHvJObTbx-
siA1ZOg&r=1i-jGlz0-JTK1aLHcsU-
ew&m=x_MtiRgo5DtiRnpkDQBNvfLhD81nsjF8l3qzZc3Km-E&s=Xpd_1UApFgCs3-
WVO0uwztPlB0CyT3JVxGegCjs5Clw&e= .





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.