Bug 1268717

Summary: AeroGear UnifiedPush Server cartridge always causes OutOfMemoryError when it started in small gear
Product: OpenShift Online Reporter: Kenjiro Nakayama <knakayam>
Component: ImageAssignee: John W. Lamb <jolamb>
Status: CLOSED DUPLICATE QA Contact: DeShuai Ma <dma>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.xCC: aos-bugs, jokerman, mmccomas, tiwillia
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-16 20:44:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kenjiro Nakayama 2015-10-05 01:11:23 UTC
Description of problem:

- When I start AeroGear UnifiedPush Server in , it always causes OutOfMemoryError.

Version-Release number of selected component (if applicable):

- OpenShift Online (Current version) *5/10/2015

How reproducible:

Steps to Reproduce:

1. Create or start aeroGear UnifiedPush Server cartridge applicatoin in small gear.
2. The server may start, but it will cause OutOfMemoryError after 30 seconds.

Additional info:

- When the aeroGear cartridge start in small gear, its Max Heap size set as 256m. But it would cause OutOfMemoryError.

- Attached the server.log 

TOBE:

- Raise the default max heap size, or don't allow to create it on small gears.

Comment 2 John W. Lamb 2015-10-16 20:44:22 UTC
The Aerogear cartridge doesn't work with small gears. The installation instructions specify that you have to run "rhc create-app" with "--gear-size medium": https://github.com/aerogear/openshift-origin-cartridge-aerogear-push#installation

Medium gears are available for Bronze and Silver tier customers.

A duplicate issue has already been forwarded to the Aerogear team; I'm not sure what priority this issue might have for them. They can either modify the quickstart to work with small gears, or (what seems much more likely) they need to clarify the gear size requirements in the instructions.

*** This bug has been marked as a duplicate of bug 1250910 ***