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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content