You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dhaval Jaiswal <dh...@via.com> on 2014/05/09 20:46:29 UTC

Best practice to load object in memory.

At the time of initializing tomcat apps server, some object/data loading in
memory, which is consuming lot of memory of the server.

What is the best practice to handle it. Loading of object/data is mandatory
in my case.


--

Re: Best practice to load object in memory.

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Dhaval,

On 5/9/14, 2:46 PM, Dhaval Jaiswal wrote:
> At the time of initializing tomcat apps server, some object/data
> loading in memory, which is consuming lot of memory of the server.
> 
> What is the best practice to handle it. Loading of object/data is
> mandatory in my case.

So you have a requirement of loading a log of data into memory at
startup, but it's taking a lot of memory. Do I have that right?

You either need different requirements (no load on startup, or maybe
no need for free memory) or you need more memory.

Did you think there was some magic sauce you could add to fix your
conflicting requirements?

- -chirs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJTdjG3AAoJEBzwKT+lPKRY3QYQAMXSl6lq1RjgQfemo8VRNhCC
m2/DkgCcr39GmUOCScHiPsHVynKoGaEyyFpgN0yCt+NoOIR/mesmuVKurjbTKHcg
4geuMdaDNcvvnYF6SDrwWstENTvF/tYseAuUswMjUFTkznsvfPXsIBzJc4s6a8NY
kbUX9R6imqxv/xUS7K2RVnddnuNEs9lvKTdTTUll/78jUwPKNKTiqvvP/VAB7viG
V7uft8B08OsOUpb5fNb0EjCmmfSJsWsyl2HkON67yix++LEmIfgvIwUo4PVH3MNd
0w/hX/OeAct5NejKfBQOtpdLQfAulwwGK1wNhpL8vUXYQzyRrrYMlNRaZrsMaysv
MZsI2sX2RZ8uklxxT8TBfXJPSGW4dPD4rh4+bO22h6ykKDV0NByVa+J2otvXLP0W
cReYg48U5eJKWjVqxk7yDV/gXG9jI1WmZCtMKQd2nk9qczIvx2m8bzZRrjqsQC37
nvXgFUYK3bgGH7W74a+bWYbkmsDA4V8PxTkcCBU0/RVOikAYEjx3DTQv2Tye/1zu
xfJchQqwLlzn7Cwyl48kLO85xxnbE5xuUeTGUn3sWk0WIeTtBi4ddOKmkLz3YRU5
nVI4rXGjErVJFd6FySFnWHNseO4jl6Eb/vU0wu31Tqf85r1EuM3WQvhbfr3fv6Qw
pCBIUaBiixlEJd6DMqIS
=it6E
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org