|
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
need to understand jrun
hiRichard White 05/15/08 05:50 P Richard,Mark Kruger 05/15/08 06:27 P hi mark,Richard White 05/15/08 07:05 P When you say 'all our computers' - It seems like you might beRichard White 05/15/08 07:06 P oh i see what your saying..... so this is quite normal its just that we have to get laptops that can handle the sort of memory it actually uses?Richard White 05/15/08 07:14 P You could have a memory leak in your application. It's recently come outAndy Matthews 05/16/08 09:42 A > Check your code before focusing too much attention on the server.Tom Chiverton 05/16/08 11:47 A thanks andy i will try thisRichard White 05/16/08 12:34 P > our laptops have 1gb of memory and your saying thats fine ifDave Watts 05/15/08 07:25 P excellent, very understandable, thanks daveRichard White 05/15/08 08:14 P just fyi, i am running both cfmx7 and cf8.01 on my 1-year-ld win xp sp2Azadi Saryev 05/15/08 10:19 P hi my laptop has begun to slow down and takes ages to do some simple tasks, same with my colleagues. i thought it was something to do with our laptops not being formatted for a year!!! however, having seen someone else posting about jrun i thought i would analyse the processing power it was using up i was amazed to see that it starts off around 11,000K and then when i log in to our application it begins to creep up. then as we are clicking on new buttons in the application and getting the application to do things it is growing to enormous amounts of Kb's. one big task took it from 79,000K to 176,000KB - then we keep clicking and it keeps going up. but i have noticed that it doesnt come back down again. it just keeps accumulating until our computers become unbearably slow are we missing something about coldfusion and Jrun. should we be doing something in our application to stop it from accumlating so much and taking up so much processing power. for example should we be flushing it every now and again, dont know if this is possible or how to do it, just seems thats what it needs!!! we would really appreciate it if someone can help us to understand why this is happening and how we can stop it and manage it better thanks very much richard Richard, First... When you say 'all our computers' - It seems like you might be talking about the client side (how your app performs in the browser) which honestly has literally nothing to do with Jrun. If you are talking about running CF on a whole bunch of laptops then I would say you need to make sure you have a bunch of RAM - especially if you will be using the laptops for anything else. From your comments below it almost seems like the issue you are having is with accessing your application with your browser... Yes? -Mark Mark A. Kruger, CFG, MCSE (402) 408-3733 ext 105 www.cfwebtools.com www.coldfusionmuse.com www.necfug.com hi my laptop has begun to slow down and takes ages to do some simple tasks, same with my colleagues. i thought it was something to do with our laptops not being formatted for a year!!! however, having seen someone else posting about jrun i thought i would analyse the processing power it was using up i was amazed to see that it starts off around 11,000K and then when i log in to our application it begins to creep up. then as we are clicking on new buttons in the application and getting the application to do things it is growing to enormous amounts of Kb's. one big task took it from 79,000K to 176,000KB - then we keep clicking and it keeps going up. but i have noticed that it doesnt come back down again. it just keeps accumulating until our computers become unbearably slow are we missing something about coldfusion and Jrun. should we be doing something in our application to stop it from accumlating so much and taking up so much processing power. for example should we be flushing it every now and again, dont know if this is possible or how to do it, just seems thats what it needs!!! we would really appreciate it if someone can help us to understand why this is happening and how we can stop it and manage it better thanks very much richard hi mark, yes the problem we are having is on our localhost on our laptops which we use for the testing environment. basically each of us have the same application on our localhost testing servers. we access it, as you said, through our browsers. we feel there has to be something not right, seeing as any laptop it is on begins to deteriorate very rapdily after accessing a few pages of the application. i also dont understand why it continues to go up in the memory it uses but it doesnt seem to come down thanks ----- Excess quoted text cut - see Original Post for more ----- When you say 'all our computers' - It seems like you might be >talking about the client side (how your app performs in the browser) which >honestly has literally nothing to do with Jrun. i know what you mean but because it is our localhost then this is why the jrun is causing us to have problems on the laptops thanks oh i see what your saying..... so this is quite normal its just that we have to get laptops that can handle the sort of memory it actually uses? our laptops have 1gb of memory and your saying thats fine if it is on a vps as it is only dealing with cf, but seeing as it is our laptops and we are using it for various things then we need to invest in laptops with more ram... that does make sense. is what i have explained normal for jrun to behave like this? and is there not a way for us to manage it more effectively? if so can anyone point us to any tutorials or guides to help us understand how we need to manage it better thanks ----- Excess quoted text cut - see Original Post for more ----- You could have a memory leak in your application. It's recently come out that CFCs that reference scopes other than variables, var, or arguments, don't release memory properly. It's also proven that if you don't var your local variables inside a CFC CF also has problems not release memory. A really good thing for you right now might be to run varscoper on your codebase: http://www.schierberl.com/varScoper/ Check your code before focusing too much attention on the server. andy hi my laptop has begun to slow down and takes ages to do some simple tasks, same with my colleagues. i thought it was something to do with our laptops not being formatted for a year!!! however, having seen someone else posting about jrun i thought i would analyse the processing power it was using up i was amazed to see that it starts off around 11,000K and then when i log in to our application it begins to creep up. then as we are clicking on new buttons in the application and getting the application to do things it is growing to enormous amounts of Kb's. one big task took it from 79,000K to 176,000KB - then we keep clicking and it keeps going up. but i have noticed that it doesnt come back down again. it just keeps accumulating until our computers become unbearably slow are we missing something about coldfusion and Jrun. should we be doing something in our application to stop it from accumlating so much and taking up so much processing power. for example should we be flushing it every now and again, dont know if this is possible or how to do it, just seems thats what it needs!!! we would really appreciate it if someone can help us to understand why this is happening and how we can stop it and manage it better thanks very much richard > Check your code before focusing too much attention on the server. Esp if doing a garbage collection in the server monitor doesn't reduce RAM usage. -- Tom Chiverton **************************************************** This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. thanks andy i will try this ----- Excess quoted text cut - see Original Post for more ----- > our laptops have 1gb of memory and your saying thats fine if > it is on a vps as it is only dealing with cf, but seeing as > it is our laptops and we are using it for various things then > we need to invest in laptops with more ram... You have two options. You can limit the amount of memory that JRun consumes to, say, 512 MB, or you can get more RAM. I recommend the latter. > is what i have explained normal for jrun to behave like this? > and is there not a way for us to manage it more effectively? > if so can anyone point us to any tutorials or guides to help > us understand how we need to manage it better Yes, that's pretty normal. Application servers tend to be resource-intensive; they're not designed to coexist with all the other stuff you run on a personal computer. They tend not to release memory that they've acquired, since acquiring and releasing memory is expensive, and presumably they'll need that memory in the future, so why let it go? For a dedicated application server, there's nothing wrong if it's using all the RAM and CPU cycles, as long as the applications it host perform well. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Training: Adobe/Google/Paperthin Certified Partners http://training.figleaf.com/ WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers! http://www.webmaniacsconference.com/ excellent, very understandable, thanks dave ----- Excess quoted text cut - see Original Post for more ----- just fyi, i am running both cfmx7 and cf8.01 on my 1-year-ld win xp sp2 acer aspire 5583 with Intel Core 2 Duo T5500 and 1GB RAM, plus mysql 5 server, and a whole bunch of other stuff. my jruns (one for each cf version) right now are at around 128,000 and 40,000 and go up to 400,000+ at times... at the same time i am usually extensively using FF, TB, DW, PS and maybe Illustrator and Flash as well, plus an anti-virus... all with no significant slow-down of laptop performance... get new laptops with good RAM and fast processors :) regular maintenance helps, too (de-fragmenting hd at the least) Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Richard White wrote: > excellent, very understandable, thanks dave
|
Mailing Lists
|
Latest Fusion Authority Articles
|
||||||