gondor/openstack4j — pull request #21 by dksxogudsla (2014-06-20 10:14:03+00:00)
Title: #20 java outofmemory exception when creating Glance image.

this issue is jersey lib problem. reference below url
I changed http client to ApacheConnector in ClientFactory.java and add
dependency of jersey-apache-connector in pom

https://java.net/jira/browse/JERSEY-2024
http://jersey.576304.n2.nabble.com/Jersey2-Client-OutOfMemoryError-when-uploading-large-file-td7581068.html

I solved and tested.
I changed Connector to ApacheConnector in ClientFactory class and added ApacheConnector lib dependency in pom.xml

thank you.