[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-2160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13640062#comment-13640062
 ] 

Hongtu Zang commented on CLOUDSTACK-2160:
-----------------------------------------

It is cause by listNetwork
In NetUtils.java getAllIpsFromCidr() will return all Ips in this cidr, it will 
get too much ips.

I fixed it and the review request: https://reviews.apache.org/r/10750/
                
> add a huge size guest network will cause out of memory
> ------------------------------------------------------
>
>                 Key: CLOUDSTACK-2160
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2160
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Network Controller
>    Affects Versions: 4.0.2
>         Environment: management server installed in centos 6.3
>            Reporter: Hongtu Zang
>              Labels: guestnetwork, network, outofmemory
>             Fix For: 4.0.2
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> navigate to network, select view "Guest Networks"
> Add guest network
> add a guest network with netmaks 255.0.0.0
> UI will hung for a while and returns error.
> In log it will shows "java.lang.OutOfMemoryError: Java heap space"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to