Re: JsonParserFactoryImpl holds 20mb heap memory when used as jaxrs client in tomee

2016-04-03 Thread Romain Manni-Bucau
2016-04-03 19:13 GMT+02:00 ravi sankar : > Hi Romain, > I have done some tests with JacksonProvider > > final Client client = clientBuilder.build().register(new > JacksonJsonProvider()); > final ExecutorService es = Executors.newFixedThreadPool(100); > Json

Re: JsonParserFactoryImpl holds 20mb heap memory when used as jaxrs client in tomee

2016-04-03 Thread ravi sankar
Hi Romain, I have done some tests with JacksonProvider final Client client = clientBuilder.build().register(new JacksonJsonProvider());   final ExecutorService es = Executors.newFixedThreadPool(100); Json Message -

Re: JsonParserFactoryImpl holds 20mb heap memory when used as jaxrs client in tomee

2016-04-03 Thread Romain Manni-Bucau
http is paticular cause you have the content length so we could maybe do a bit better but even jackson has this dynamic mem issue. Romain Manni-Bucau @rmannibucau | Blog | Github | LinkedIn | Tomitriber 2016-04-03 18:26 GMT+02:00 ravi sankar : > Hi Romain, >

Re: JsonParserFactoryImpl holds 20mb heap memory when used as jaxrs client in tomee

2016-04-03 Thread ravi sankar
Hi Romain, Yes you are right it doesn't solve the actual problem. I wonder how Jackson is able to handle payloads of different sizes out of the box. Thanks,Ravi On Monday, 4 April 2016 12:02 AM, Romain Manni-Bucau wrote: Hi Ravi, 2016-04-03 14:44 GMT+02:00

Re: JsonParserFactoryImpl holds 20mb heap memory when used as jaxrs client in tomee

2016-04-03 Thread Romain Manni-Bucau
Hi Ravi, 2016-04-03 14:44 GMT+02:00 ravi sankar : > Hi Romain, > Scenario: Retrieve the json file at > https://raw.githubusercontent.com/Ravisankar-Challa/tomee_embedded/master/src/main/resources/miscellaneousinfo.js > using JaxRs client. > > git checkout

Re: JsonParserFactoryImpl holds 20mb heap memory when used as jaxrs client in tomee

2016-04-03 Thread ravi sankar
Hi Romain, Scenario: Retrieve the json file at https://raw.githubusercontent.com/Ravisankar-Challa/tomee_embedded/master/src/main/resources/miscellaneousinfo.js using JaxRs client. git checkout master mvn -f tomee-embedded-shade.xml clean package -Dmaven.test.skip java -Xmx768M -jar

Re: Problem fetching JSF resources over SSL when ActiveMQ broker is running

2016-04-03 Thread Ihsan Ecemis
Is SSL config different for JSF resources than static files under Tomcat? Note that I can fetch static files without any problem, I have the problem only with JSF resources! (I didn’t add static files to the sample project to show this but my application have them) If you’d like I can

Re: Problem fetching JSF resources over SSL when ActiveMQ broker is running

2016-04-03 Thread Romain Manni-Bucau
tried on windows so wonder if it can be linked to gnu tools. If you get such an issue the only thing I can think about is AMQ changing the SSL config of the JVM which would then make the SSL config of tomcat changing if relying on the JVM settings for any of them. Can also be a local firewall

Re: Problem fetching JSF resources over SSL when ActiveMQ broker is running

2016-04-03 Thread Romain Manni-Bucau
Hi Didn't reproduce it with your sample. Ran on java8, not sure it is linked Romain Manni-Bucau @rmannibucau | Blog | Github | LinkedIn | Tomitriber 2016-04-02 13:27 GMT+02:00 Ihsan Ecemis : > > Hello, > > I was having some weird problems with my JSF pages lately, and