It's all about the answers!

Ask a question

java out of memory error while updating custom attribute


Anurag Patel (21158) | asked Jan 31 '18, 8:42 a.m.
edited Jan 31 '18, 8:55 a.m. by Ralph Schoon (62.9k33645)

 Hi all,

while updating custom attribute in RQM and create test artifact "Exception in thread "main" java.lang.OutOfMemoryError: Java heap space" exception occurs. Code throws exception while I am creating test artifact through OSLC for below code,


testcase = client.getResource(testcaseLocation,
OslcMediaType.APPLICATION_RDF_XML).getEntity(
TestCase.class);

One answer



permanent link
Donald Nong (14.5k414) | answered Feb 01 '18, 4:59 a.m.

It basically means that the default heap size is not large enough to run the application. Use -Xmx to specify a larger heap to run your application.

Your answer


Register or to post your answer.