Java OutOfMemory when executing "ResourceFactoryManager.createPackageBackedResource" method

Solution Verified - Updated -

Issue

  • Java OutOfMemory when executing "ResourceFactoryManager.createPackageBackedResource(...)" method;

Environment

  • Red Hat JBoss Operations Network (ON) 3.3.10;
  • Red Hat JBoss ON Command Line Interface (CLI) 3.3.10;
  • Attempted deployment of the large war file (>75MB) using JBoss ON CLI script and method:

    ResourceFactoryManager.createPackageBackedResource(jboss.id,appType.id,packageName,null,packageName,version,null,deployConfig,fileBytes,null);
    

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In