question about memory


Zhoutianran <zhoutianran@...>
 

Hi,

I am from the NEMO project. When we integrating the OF plugin in our project, we found it will consume a lot of memory.
It works only when I set -Xmx4GB, and the VM memory to 4G.
That will impacts our demo deployment.
I used nox, and implemented a private openflow controller before. I am very curious about why the OF plugin need so much memory.
Is there any possibility to optimize?
Could anyone from this mailing list can help me?

Thanks,
Tianran


Tony Tkacik
 

Hi,
Memory consumption depends mostly on operations of your application and data set used by your application.
In order to better understand this issue, heap memory snapshot would be useful to understand what is consuming
lot of memory.


Tony

-----Original Message-----
From: openflowjava-dev-bounces@... [mailto:openflowjava-dev-bounces@...] On Behalf Of Zhoutianran
Sent: Wednesday, January 13, 2016 9:18 AM
To: openflowjava-dev@...
Subject: [openflowjava-dev] question about memory

Hi,

I am from the NEMO project. When we integrating the OF plugin in our project, we found it will consume a lot of memory.
It works only when I set -Xmx4GB, and the VM memory to 4G.
That will impacts our demo deployment.
I used nox, and implemented a private openflow controller before. I am very curious about why the OF plugin need so much memory.
Is there any possibility to optimize?
Could anyone from this mailing list can help me?

Thanks,
Tianran
_______________________________________________
openflowjava-dev mailing list
openflowjava-dev@...
https://lists.opendaylight.org/mailman/listinfo/openflowjava-dev


Zhoutianran <zhoutianran@...>
 

Hi Tony,

 

Thanks for your fast response.

But the error occurs when we try to install the of plugin feature. Our application have not been installed, and of course no flow table submitted.

I can provide a snapshot when we first meet this problem several months ago.

 

We sent the problem here then, and got the solution was to set -Xmx4GB.

 

Now, I have time, and want to know why J

 

Best,

Tianran

 

> -----Original Message-----

> From: Tony Tkacik -X (ttkacik - PANTHEON TECHNOLOGIES at Cisco)

> [mailto:ttkacik@...]

> Sent: Wednesday, January 13, 2016 4:21 PM

> To: Zhoutianran; openflowjava-dev@...

> Subject: RE: question about memory

>

> Hi,

> Memory consumption depends mostly on operations of your application and

> data set used by your application.

> In order to better understand this issue, heap memory snapshot would be

> useful to understand what is consuming lot of memory.

>

>

> Tony

>

> -----Original Message-----

> From: openflowjava-dev-bounces@...

> [mailto:openflowjava-dev-bounces@...] On Behalf Of

> Zhoutianran

> Sent: Wednesday, January 13, 2016 9:18 AM

> To: openflowjava-dev@...

> Subject: [openflowjava-dev] question about memory

>

> Hi,

>

> I am from the NEMO project. When we integrating the OF plugin in our project,

> we found it will consume a lot of memory.

> It works only when I set -Xmx4GB, and the VM memory to 4G.

> That will impacts our demo deployment.

> I used nox, and implemented a private openflow controller before. I am very

> curious about why the OF plugin need so much memory.

> Is there any possibility to optimize?

> Could anyone from this mailing list can help me?

>

> Thanks,

> Tianran

> _______________________________________________

> openflowjava-dev mailing list

> openflowjava-dev@...

> https://lists.opendaylight.org/mailman/listinfo/openflowjava-dev