Hi Seaside,
This problem has been bedeviling me for a long time now. I could not properly start my image after I got a message, "Space is low". When I checked, Squeak.exe process was reported to be 800,000 MB and I had 2GB of memory. Several other processes were competing with the 2GB memory. I proceeded to try to solve this by adding more memory. Now, I have 4 GB of physical memory and my app started fine. When I proceeded to add more methods and tried to save, I lost my app in that it stopped and would not start again. Can anyone tell me what is going on here? my image is a little over 800 MB and my memory manager reports available memory in excess of 2GB Thanks for the help, Ching _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Look like you have a memory leak somewhere.
- The most likely thing is, that you have a background process in an infinite recursion and it is slowly eating up all your memory. Go to the process browser and terminate all processes that Squeak allows you to kill. - You also have to make sure that you don't reference unwanted object from global variables. - If this does not result to solution you might want to generate an overview what objects eat up your space using "SpaceTally new printSpaceAnalysis". Cheers, Lukas -- Lukas Renggli http://www.lukas-renggli.ch _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Thanks, Lukas. I will try your suggestions.
Ching On Nov 18, 2007 3:46 PM, Lukas Renggli <[hidden email]> wrote: > Look like you have a memory leak somewhere. > > - The most likely thing is, that you have a background process in an > infinite recursion and it is slowly eating up all your memory. Go to > the process browser and terminate all processes that Squeak allows you > to kill. > > - You also have to make sure that you don't reference unwanted object > from global variables. > > - If this does not result to solution you might want to generate an > overview what objects eat up your space using "SpaceTally new > printSpaceAnalysis". > > Cheers, > Lukas > > -- > Lukas Renggli > http://www.lukas-renggli.ch > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by ching
2007/11/18, Ching de la Serna <[hidden email]>:
> Hi Seaside, > > This problem has been bedeviling me for a long time now. I could not > properly start my image after I got a message, "Space is low". When I > checked, Squeak.exe process was reported to be 800,000 MB and I had > 2GB of memory. Several other processes were competing with the 2GB > memory. > > I proceeded to try to solve this by adding more memory. Now, I have 4 > GB of physical memory and my app started fine. When I proceeded to add > more methods and tried to save, I lost my app in that it stopped and > would not start again. Can anyone tell me what is going on here? my > image is a little over 800 MB and my memory manager reports available > memory in excess of 2GB There is a difference between physical and virtual memory. Using Squeak images of this size is unknown territory. You'll have to use a recent VW and are very likely to spend a considerable amount of time on garbage collection. Cheers Philippe > Thanks for the help, > > Ching > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by ching
Hi Lukas,
I opened a process browser as you suggested. However, I could not find any means to kill any process. I use a 2-button mouse where right-click brings up a menu without a means to kill a process. Help? Thanks, Ching On Nov 18, 2007 4:52 PM, Ching de la Serna <[hidden email]> wrote: > Thanks, Lukas. I will try your suggestions. > > Ching > > > On Nov 18, 2007 3:46 PM, Lukas Renggli <[hidden email]> wrote: > > Look like you have a memory leak somewhere. > > > > - The most likely thing is, that you have a background process in an > > infinite recursion and it is slowly eating up all your memory. Go to > > the process browser and terminate all processes that Squeak allows you > > to kill. > > > > - You also have to make sure that you don't reference unwanted object > > from global variables. > > > > - If this does not result to solution you might want to generate an > > overview what objects eat up your space using "SpaceTally new > > printSpaceAnalysis". > > > > Cheers, > > Lukas > > > > -- > > Lukas Renggli > > http://www.lukas-renggli.ch > > _______________________________________________ > > seaside mailing list > > [hidden email] > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Philippe Marschall
Hi Philippe,
I am using Squeak (I presume when you mentioned VW you meant Visual Works?) I have 4GB of physical memory Thanks, Ching On Nov 18, 2007 6:01 PM, Philippe Marschall <[hidden email]> wrote: > 2007/11/18, Ching de la Serna <[hidden email]>: > > > Hi Seaside, > > > > This problem has been bedeviling me for a long time now. I could not > > properly start my image after I got a message, "Space is low". When I > > checked, Squeak.exe process was reported to be 800,000 MB and I had > > 2GB of memory. Several other processes were competing with the 2GB > > memory. > > > > I proceeded to try to solve this by adding more memory. Now, I have 4 > > GB of physical memory and my app started fine. When I proceeded to add > > more methods and tried to save, I lost my app in that it stopped and > > would not start again. Can anyone tell me what is going on here? my > > image is a little over 800 MB and my memory manager reports available > > memory in excess of 2GB > > There is a difference between physical and virtual memory. Using > Squeak images of this size is unknown territory. You'll have to use a > recent VW and are very likely to spend a considerable amount of time > on garbage collection. > > Cheers > Philippe > > > Thanks for the help, > > > > Ching > > > _______________________________________________ > > seaside mailing list > > [hidden email] > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
2007/11/18, Ching de la Serna <[hidden email]>:
> Hi Philippe, > > I am using Squeak (I presume when you mentioned VW you meant Visual > Works?) I have 4GB of physical memory No I meant VM. You a single process on a 32bit OS will never have 4 GB of virtual memory. In general you are limited to 2 GB of virtual memory unless you play special tricks. This is completely independend of your physical memory size Cheers Philippe > Thanks, > > Ching > > On Nov 18, 2007 6:01 PM, Philippe Marschall > <[hidden email]> wrote: > > 2007/11/18, Ching de la Serna <[hidden email]>: > > > > > Hi Seaside, > > > > > > This problem has been bedeviling me for a long time now. I could not > > > properly start my image after I got a message, "Space is low". When I > > > checked, Squeak.exe process was reported to be 800,000 MB and I had > > > 2GB of memory. Several other processes were competing with the 2GB > > > memory. > > > > > > I proceeded to try to solve this by adding more memory. Now, I have 4 > > > GB of physical memory and my app started fine. When I proceeded to add > > > more methods and tried to save, I lost my app in that it stopped and > > > would not start again. Can anyone tell me what is going on here? my > > > image is a little over 800 MB and my memory manager reports available > > > memory in excess of 2GB > > > > There is a difference between physical and virtual memory. Using > > Squeak images of this size is unknown territory. You'll have to use a > > recent VW and are very likely to spend a considerable amount of time > > on garbage collection. > > > > Cheers > > Philippe > > > > > Thanks for the help, > > > > > > Ching > > > > > _______________________________________________ > > > seaside mailing list > > > [hidden email] > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > _______________________________________________ > > seaside mailing list > > [hidden email] > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
I see. Do you think I have a memory leak somewhere? Lukas has
suggested killing processes one by one at the process browser. How do I do this? It does seem unusual that the OS should report 800 MB or memory being used by the app. On Nov 18, 2007 6:15 PM, Philippe Marschall <[hidden email]> wrote: > 2007/11/18, Ching de la Serna <[hidden email]>: > > Hi Philippe, > > > > I am using Squeak (I presume when you mentioned VW you meant Visual > > Works?) I have 4GB of physical memory > > No I meant VM. You a single process on a 32bit OS will never have 4 GB > of virtual memory. In general you are limited to 2 GB of virtual > memory unless you play special tricks. This is completely independend > of your physical memory size > > Cheers > Philippe > > > > Thanks, > > > > Ching > > > > On Nov 18, 2007 6:01 PM, Philippe Marschall > > <[hidden email]> wrote: > > > 2007/11/18, Ching de la Serna <[hidden email]>: > > > > > > > Hi Seaside, > > > > > > > > This problem has been bedeviling me for a long time now. I could not > > > > properly start my image after I got a message, "Space is low". When I > > > > checked, Squeak.exe process was reported to be 800,000 MB and I had > > > > 2GB of memory. Several other processes were competing with the 2GB > > > > memory. > > > > > > > > I proceeded to try to solve this by adding more memory. Now, I have 4 > > > > GB of physical memory and my app started fine. When I proceeded to add > > > > more methods and tried to save, I lost my app in that it stopped and > > > > would not start again. Can anyone tell me what is going on here? my > > > > image is a little over 800 MB and my memory manager reports available > > > > memory in excess of 2GB > > > > > > There is a difference between physical and virtual memory. Using > > > Squeak images of this size is unknown territory. You'll have to use a > > > recent VW and are very likely to spend a considerable amount of time > > > on garbage collection. > > > > > > Cheers > > > Philippe > > > > > > > Thanks for the help, > > > > > > > > Ching > > > > > > > _______________________________________________ > > > > seaside mailing list > > > > [hidden email] > > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > > > _______________________________________________ > > > seaside mailing list > > > [hidden email] > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > _______________________________________________ > > seaside mailing list > > [hidden email] > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Philippe Marschall
Ok, let me clarify a few things, no one mentions the operating system,
although I guess it's Windows based on mention of squeak.exe (a) most 32bit operating systems won't let you allocate a chunk of memory > 2 GB (b) some 32bit operating systems won't let you allocate a chunk of memory > 1.5 GB (c) Until just recently allocating > 2GB of memory for a Squeak image would cause the VM to fail. (c) The Squeak VM (all platforms) come with a upper limit on how big the image can grow, what that limit is is dependent on which VM and which version. Some VMs will let you set the upper limit when you start the VM http://wiki.squeak.org/squeak/105 Someone will need to check but it looks like the windows VM is built with a max of 512MB for the image memory sqWin32Alloc.h /* Limit the default size for virtual memory to 512MB to avoid nasty spurious problems when large dynamic libraries are loaded later. Applications needing more virtual memory can increase the size by defining it appropriately - here we try to cater for the common case by using a "reasonable" size that will leave enough space for other libraries. */ #ifndef MAX_VIRTUAL_MEMORY #define MAX_VIRTUAL_MEMORY 512*1024*1024 #endif Solutions to very large squeak images are: (a) Run a 64 squeak Vm with 32bit Image, that should allow a 4GB squeak image. (b) Ensure you have all the 32bit VM patchs so you can actually access > 2GB (c) The GC logic and how it is tuned is not designed for multi-GB image. See http://www.esug.org/data/ESUG2006/pres/gctalkjohnmacintosh.pdf (d) Ensure the memory upper bound set is sufficient for your needs. On Nov 18, 2007, at 2:15 AM, Philippe Marschall wrote: > 2007/11/18, Ching de la Serna <[hidden email]>: >> Hi Philippe, >> >> I am using Squeak (I presume when you mentioned VW you meant Visual >> Works?) I have 4GB of physical memory > > No I meant VM. You a single process on a 32bit OS will never have 4 GB > of virtual memory. In general you are limited to 2 GB of virtual > memory unless you play special tricks. This is completely independend > of your physical memory size > > Cheers > Philippe > >> Thanks, >> >> Ching >> >> On Nov 18, 2007 6:01 PM, Philippe Marschall >> <[hidden email]> wrote: >>> 2007/11/18, Ching de la Serna <[hidden email]>: >>> >>>> Hi Seaside, >>>> >>>> This problem has been bedeviling me for a long time now. I could >>>> not >>>> properly start my image after I got a message, "Space is low". >>>> When I >>>> checked, Squeak.exe process was reported to be 800,000 MB and I had >>>> 2GB of memory. Several other processes were competing with the 2GB >>>> memory. >>>> >>>> I proceeded to try to solve this by adding more memory. Now, I >>>> have 4 >>>> GB of physical memory and my app started fine. When I proceeded >>>> to add >>>> more methods and tried to save, I lost my app in that it stopped >>>> and >>>> would not start again. Can anyone tell me what is going on here? my >>>> image is a little over 800 MB and my memory manager reports >>>> available >>>> memory in excess of 2GB >>> >>> There is a difference between physical and virtual memory. Using >>> Squeak images of this size is unknown territory. You'll have to >>> use a >>> recent VW and are very likely to spend a considerable amount of time >>> on garbage collection. >>> >>> Cheers >>> Philippe >>> >>>> Thanks for the help, >>>> >>>> Ching >>> -- = = = ======================================================================== John M. McIntosh <[hidden email]> Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com = = = ======================================================================== _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by ching
2007/11/18, Ching de la Serna <[hidden email]>:
> I see. Do you think I have a memory leak somewhere? Yes, definitely. > Lukas has > suggested killing processes one by one at the process browser. Among other things. I'm not convinced killing process fixes you problem. > How do > I do this? - open the process brower - select a process - right click - terminate note that you can not kill some vital processes > It does seem unusual that the OS should report 800 MB or > memory being used by the app. It's not the OS, it's Squeak. Cheers Philippe > On Nov 18, 2007 6:15 PM, Philippe Marschall > <[hidden email]> wrote: > > 2007/11/18, Ching de la Serna <[hidden email]>: > > > Hi Philippe, > > > > > > I am using Squeak (I presume when you mentioned VW you meant Visual > > > Works?) I have 4GB of physical memory > > > > No I meant VM. You a single process on a 32bit OS will never have 4 GB > > of virtual memory. In general you are limited to 2 GB of virtual > > memory unless you play special tricks. This is completely independend > > of your physical memory size > > > > Cheers > > Philippe > > > > > > > Thanks, > > > > > > Ching > > > > > > On Nov 18, 2007 6:01 PM, Philippe Marschall > > > <[hidden email]> wrote: > > > > 2007/11/18, Ching de la Serna <[hidden email]>: > > > > > > > > > Hi Seaside, > > > > > > > > > > This problem has been bedeviling me for a long time now. I could not > > > > > properly start my image after I got a message, "Space is low". When I > > > > > checked, Squeak.exe process was reported to be 800,000 MB and I had > > > > > 2GB of memory. Several other processes were competing with the 2GB > > > > > memory. > > > > > > > > > > I proceeded to try to solve this by adding more memory. Now, I have 4 > > > > > GB of physical memory and my app started fine. When I proceeded to add > > > > > more methods and tried to save, I lost my app in that it stopped and > > > > > would not start again. Can anyone tell me what is going on here? my > > > > > image is a little over 800 MB and my memory manager reports available > > > > > memory in excess of 2GB > > > > > > > > There is a difference between physical and virtual memory. Using > > > > Squeak images of this size is unknown territory. You'll have to use a > > > > recent VW and are very likely to spend a considerable amount of time > > > > on garbage collection. > > > > > > > > Cheers > > > > Philippe > > > > > > > > > Thanks for the help, > > > > > > > > > > Ching > > > > > > > > > _______________________________________________ > > > > > seaside mailing list > > > > > [hidden email] > > > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > > > > > _______________________________________________ > > > > seaside mailing list > > > > [hidden email] > > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > > > _______________________________________________ > > > seaside mailing list > > > [hidden email] > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > _______________________________________________ > > seaside mailing list > > [hidden email] > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by johnmci
Hi John,
Thanks for your input. You are right in surmising that the OS is Windows. You have pointed out some very deep insights on memory allocation. I do not have the necessary expertise to go deeper into this problem. I think the reported memory use of 800 MB is somehow suspicious. I must be doing something wrong here to get these kinds of numbers. Thanks, Ching On Nov 18, 2007 6:38 PM, John M McIntosh <[hidden email]> wrote: > Ok, let me clarify a few things, no one mentions the operating system, > although I guess it's Windows based on mention of squeak.exe > > (a) most 32bit operating systems won't let you allocate a chunk of > memory > 2 GB > (b) some 32bit operating systems won't let you allocate a chunk of > memory > 1.5 GB > (c) Until just recently allocating > 2GB of memory for a Squeak image > would cause the VM to fail. > > (c) The Squeak VM (all platforms) come with a upper limit on how big > the image can grow, what that limit is > is dependent on which VM and which version. Some VMs will let you set > the upper limit when you start the VM > http://wiki.squeak.org/squeak/105 > > Someone will need to check but it looks like the windows VM is built > with a max of 512MB for the image memory > sqWin32Alloc.h > > /* > Limit the default size for virtual memory to 512MB to avoid nasty > spurious problems when large dynamic libraries are loaded later. > Applications needing more virtual memory can increase the size by > defining it appropriately - here we try to cater for the common > case by using a "reasonable" size that will leave enough space for > other libraries. > */ > #ifndef MAX_VIRTUAL_MEMORY > #define MAX_VIRTUAL_MEMORY 512*1024*1024 > #endif > > > Solutions to very large squeak images are: > > (a) Run a 64 squeak Vm with 32bit Image, that should allow a 4GB > squeak image. > (b) Ensure you have all the 32bit VM patchs so you can actually access > > 2GB > (c) The GC logic and how it is tuned is not designed for multi-GB > image. See > http://www.esug.org/data/ESUG2006/pres/gctalkjohnmacintosh.pdf > (d) Ensure the memory upper bound set is sufficient for your needs. > > > On Nov 18, 2007, at 2:15 AM, Philippe Marschall wrote: > > > 2007/11/18, Ching de la Serna <[hidden email]>: > >> Hi Philippe, > >> > >> I am using Squeak (I presume when you mentioned VW you meant Visual > >> Works?) I have 4GB of physical memory > > > > No I meant VM. You a single process on a 32bit OS will never have 4 GB > > of virtual memory. In general you are limited to 2 GB of virtual > > memory unless you play special tricks. This is completely independend > > of your physical memory size > > > > Cheers > > Philippe > > > >> Thanks, > >> > >> Ching > >> > >> On Nov 18, 2007 6:01 PM, Philippe Marschall > >> <[hidden email]> wrote: > >>> 2007/11/18, Ching de la Serna <[hidden email]>: > >>> > >>>> Hi Seaside, > >>>> > >>>> This problem has been bedeviling me for a long time now. I could > >>>> not > >>>> properly start my image after I got a message, "Space is low". > >>>> When I > >>>> checked, Squeak.exe process was reported to be 800,000 MB and I had > >>>> 2GB of memory. Several other processes were competing with the 2GB > >>>> memory. > >>>> > >>>> I proceeded to try to solve this by adding more memory. Now, I > >>>> have 4 > >>>> GB of physical memory and my app started fine. When I proceeded > >>>> to add > >>>> more methods and tried to save, I lost my app in that it stopped > >>>> and > >>>> would not start again. Can anyone tell me what is going on here? my > >>>> image is a little over 800 MB and my memory manager reports > >>>> available > >>>> memory in excess of 2GB > >>> > >>> There is a difference between physical and virtual memory. Using > >>> Squeak images of this size is unknown territory. You'll have to > >>> use a > >>> recent VW and are very likely to spend a considerable amount of time > >>> on garbage collection. > >>> > >>> Cheers > >>> Philippe > >>> > >>>> Thanks for the help, > >>>> > >>>> Ching > >>> > > -- > = > = > = > ======================================================================== > John M. McIntosh <[hidden email]> > Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com > = > = > = > ======================================================================== > > > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Philippe Marschall
Hi Philippe,
I have a process browser open. Selecting a process, I right click and I get inspect explore find again.. I cannot find a terminate option Ching On Nov 18, 2007 6:43 PM, Philippe Marschall <[hidden email]> wrote: > 2007/11/18, Ching de la Serna <[hidden email]>: > > I see. Do you think I have a memory leak somewhere? > > Yes, definitely. > > > Lukas has > > suggested killing processes one by one at the process browser. > > Among other things. I'm not convinced killing process fixes you problem. > > > How do > > I do this? > > - open the process brower > - select a process > - right click > - terminate > > note that you can not kill some vital processes > > > It does seem unusual that the OS should report 800 MB or > > memory being used by the app. > > It's not the OS, it's Squeak. > > Cheers > Philippe > > > > On Nov 18, 2007 6:15 PM, Philippe Marschall > > <[hidden email]> wrote: > > > 2007/11/18, Ching de la Serna <[hidden email]>: > > > > Hi Philippe, > > > > > > > > I am using Squeak (I presume when you mentioned VW you meant Visual > > > > Works?) I have 4GB of physical memory > > > > > > No I meant VM. You a single process on a 32bit OS will never have 4 GB > > > of virtual memory. In general you are limited to 2 GB of virtual > > > memory unless you play special tricks. This is completely independend > > > of your physical memory size > > > > > > Cheers > > > Philippe > > > > > > > > > > Thanks, > > > > > > > > Ching > > > > > > > > On Nov 18, 2007 6:01 PM, Philippe Marschall > > > > <[hidden email]> wrote: > > > > > 2007/11/18, Ching de la Serna <[hidden email]>: > > > > > > > > > > > Hi Seaside, > > > > > > > > > > > > This problem has been bedeviling me for a long time now. I could not > > > > > > properly start my image after I got a message, "Space is low". When I > > > > > > checked, Squeak.exe process was reported to be 800,000 MB and I had > > > > > > 2GB of memory. Several other processes were competing with the 2GB > > > > > > memory. > > > > > > > > > > > > I proceeded to try to solve this by adding more memory. Now, I have 4 > > > > > > GB of physical memory and my app started fine. When I proceeded to add > > > > > > more methods and tried to save, I lost my app in that it stopped and > > > > > > would not start again. Can anyone tell me what is going on here? my > > > > > > image is a little over 800 MB and my memory manager reports available > > > > > > memory in excess of 2GB > > > > > > > > > > There is a difference between physical and virtual memory. Using > > > > > Squeak images of this size is unknown territory. You'll have to use a > > > > > recent VW and are very likely to spend a considerable amount of time > > > > > on garbage collection. > > > > > > > > > > Cheers > > > > > Philippe > > > > > > > > > > > Thanks for the help, > > > > > > > > > > > > Ching > > > > > > > > > > > _______________________________________________ > > > > > > seaside mailing list > > > > > > [hidden email] > > > > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > > > > > > > _______________________________________________ > > > > > seaside mailing list > > > > > [hidden email] > > > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > > > > > _______________________________________________ > > > > seaside mailing list > > > > [hidden email] > > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > > > _______________________________________________ > > > seaside mailing list > > > [hidden email] > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > _______________________________________________ > > seaside mailing list > > [hidden email] > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
2007/11/18, Ching de la Serna <[hidden email]>:
> Hi Philippe, > > I have a process browser open. Selecting a process, I right click and I get > inspect > explore > find again.. > I cannot find a terminate option As I said, you can not terminate some vital processes. Select a non-vital process. Cheers Philippe > Ching > > On Nov 18, 2007 6:43 PM, Philippe Marschall > <[hidden email]> wrote: > > 2007/11/18, Ching de la Serna <[hidden email]>: > > > I see. Do you think I have a memory leak somewhere? > > > > Yes, definitely. > > > > > Lukas has > > > suggested killing processes one by one at the process browser. > > > > Among other things. I'm not convinced killing process fixes you problem. > > > > > How do > > > I do this? > > > > - open the process brower > > - select a process > > - right click > > - terminate > > > > note that you can not kill some vital processes > > > > > It does seem unusual that the OS should report 800 MB or > > > memory being used by the app. > > > > It's not the OS, it's Squeak. > > > > Cheers > > Philippe > > > > > > > On Nov 18, 2007 6:15 PM, Philippe Marschall > > > <[hidden email]> wrote: > > > > 2007/11/18, Ching de la Serna <[hidden email]>: > > > > > Hi Philippe, > > > > > > > > > > I am using Squeak (I presume when you mentioned VW you meant Visual > > > > > Works?) I have 4GB of physical memory > > > > > > > > No I meant VM. You a single process on a 32bit OS will never have 4 GB > > > > of virtual memory. In general you are limited to 2 GB of virtual > > > > memory unless you play special tricks. This is completely independend > > > > of your physical memory size > > > > > > > > Cheers > > > > Philippe > > > > > > > > > > > > > Thanks, > > > > > > > > > > Ching > > > > > > > > > > On Nov 18, 2007 6:01 PM, Philippe Marschall > > > > > <[hidden email]> wrote: > > > > > > 2007/11/18, Ching de la Serna <[hidden email]>: > > > > > > > > > > > > > Hi Seaside, > > > > > > > > > > > > > > This problem has been bedeviling me for a long time now. I could not > > > > > > > properly start my image after I got a message, "Space is low". When I > > > > > > > checked, Squeak.exe process was reported to be 800,000 MB and I had > > > > > > > 2GB of memory. Several other processes were competing with the 2GB > > > > > > > memory. > > > > > > > > > > > > > > I proceeded to try to solve this by adding more memory. Now, I have 4 > > > > > > > GB of physical memory and my app started fine. When I proceeded to add > > > > > > > more methods and tried to save, I lost my app in that it stopped and > > > > > > > would not start again. Can anyone tell me what is going on here? my > > > > > > > image is a little over 800 MB and my memory manager reports available > > > > > > > memory in excess of 2GB > > > > > > > > > > > > There is a difference between physical and virtual memory. Using > > > > > > Squeak images of this size is unknown territory. You'll have to use a > > > > > > recent VW and are very likely to spend a considerable amount of time > > > > > > on garbage collection. > > > > > > > > > > > > Cheers > > > > > > Philippe > > > > > > > > > > > > > Thanks for the help, > > > > > > > > > > > > > > Ching > > > > > > > > > > > > > _______________________________________________ > > > > > > > seaside mailing list > > > > > > > [hidden email] > > > > > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > > > > > > > > > _______________________________________________ > > > > > > seaside mailing list > > > > > > [hidden email] > > > > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > > > > > > > _______________________________________________ > > > > > seaside mailing list > > > > > [hidden email] > > > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > > > > > _______________________________________________ > > > > seaside mailing list > > > > [hidden email] > > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > > > _______________________________________________ > > > seaside mailing list > > > [hidden email] > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > _______________________________________________ > > seaside mailing list > > [hidden email] > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Thanks Philippe,
It seems to me I only have vital processes running at this point. Funny thing is, memory use is down to 235 MB and I have started to run the Seaside app from localhost. Ching On Nov 18, 2007 7:00 PM, Philippe Marschall <[hidden email]> wrote: > 2007/11/18, Ching de la Serna <[hidden email]>: > > Hi Philippe, > > > > I have a process browser open. Selecting a process, I right click and I get > > inspect > > explore > > find again.. > > I cannot find a terminate option > > As I said, you can not terminate some vital processes. Select a > non-vital process. > > Cheers > Philippe > > > > Ching > > > > On Nov 18, 2007 6:43 PM, Philippe Marschall > > <[hidden email]> wrote: > > > 2007/11/18, Ching de la Serna <[hidden email]>: > > > > I see. Do you think I have a memory leak somewhere? > > > > > > Yes, definitely. > > > > > > > Lukas has > > > > suggested killing processes one by one at the process browser. > > > > > > Among other things. I'm not convinced killing process fixes you problem. > > > > > > > How do > > > > I do this? > > > > > > - open the process brower > > > - select a process > > > - right click > > > - terminate > > > > > > note that you can not kill some vital processes > > > > > > > It does seem unusual that the OS should report 800 MB or > > > > memory being used by the app. > > > > > > It's not the OS, it's Squeak. > > > > > > Cheers > > > Philippe > > > > > > > > > > On Nov 18, 2007 6:15 PM, Philippe Marschall > > > > <[hidden email]> wrote: > > > > > 2007/11/18, Ching de la Serna <[hidden email]>: > > > > > > Hi Philippe, > > > > > > > > > > > > I am using Squeak (I presume when you mentioned VW you meant Visual > > > > > > Works?) I have 4GB of physical memory > > > > > > > > > > No I meant VM. You a single process on a 32bit OS will never have 4 GB > > > > > of virtual memory. In general you are limited to 2 GB of virtual > > > > > memory unless you play special tricks. This is completely independend > > > > > of your physical memory size > > > > > > > > > > Cheers > > > > > Philippe > > > > > > > > > > > > > > > > Thanks, > > > > > > > > > > > > Ching > > > > > > > > > > > > On Nov 18, 2007 6:01 PM, Philippe Marschall > > > > > > <[hidden email]> wrote: > > > > > > > 2007/11/18, Ching de la Serna <[hidden email]>: > > > > > > > > > > > > > > > Hi Seaside, > > > > > > > > > > > > > > > > This problem has been bedeviling me for a long time now. I could not > > > > > > > > properly start my image after I got a message, "Space is low". When I > > > > > > > > checked, Squeak.exe process was reported to be 800,000 MB and I had > > > > > > > > 2GB of memory. Several other processes were competing with the 2GB > > > > > > > > memory. > > > > > > > > > > > > > > > > I proceeded to try to solve this by adding more memory. Now, I have 4 > > > > > > > > GB of physical memory and my app started fine. When I proceeded to add > > > > > > > > more methods and tried to save, I lost my app in that it stopped and > > > > > > > > would not start again. Can anyone tell me what is going on here? my > > > > > > > > image is a little over 800 MB and my memory manager reports available > > > > > > > > memory in excess of 2GB > > > > > > > > > > > > > > There is a difference between physical and virtual memory. Using > > > > > > > Squeak images of this size is unknown territory. You'll have to use a > > > > > > > recent VW and are very likely to spend a considerable amount of time > > > > > > > on garbage collection. > > > > > > > > > > > > > > Cheers > > > > > > > Philippe > > > > > > > > > > > > > > > Thanks for the help, > > > > > > > > > > > > > > > > Ching > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > > seaside mailing list > > > > > > > > [hidden email] > > > > > > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > seaside mailing list > > > > > > > [hidden email] > > > > > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > > > > > > > > > _______________________________________________ > > > > > > seaside mailing list > > > > > > [hidden email] > > > > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > > > > > > > _______________________________________________ > > > > > seaside mailing list > > > > > [hidden email] > > > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > > > > > _______________________________________________ > > > > seaside mailing list > > > > [hidden email] > > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > > > _______________________________________________ > > > seaside mailing list > > > [hidden email] > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > _______________________________________________ > > seaside mailing list > > [hidden email] > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
2007/11/18, Ching de la Serna <[hidden email]>:
> Thanks Philippe, > > It seems to me I only have vital processes running at this point. That would make 8 process and may an additional 9th Seaside process that you should be able to kill. Can you post a list of your processes? Cheers Philippe > Funny thing is, memory use is down to 235 MB and I have started to run > the Seaside app from localhost. > > Ching > > On Nov 18, 2007 7:00 PM, Philippe Marschall > <[hidden email]> wrote: > > 2007/11/18, Ching de la Serna <[hidden email]>: > > > Hi Philippe, > > > > > > I have a process browser open. Selecting a process, I right click and I get > > > inspect > > > explore > > > find again.. > > > I cannot find a terminate option > > > > As I said, you can not terminate some vital processes. Select a > > non-vital process. > > > > Cheers > > Philippe > > > > > > > Ching > > > > > > On Nov 18, 2007 6:43 PM, Philippe Marschall > > > <[hidden email]> wrote: > > > > 2007/11/18, Ching de la Serna <[hidden email]>: > > > > > I see. Do you think I have a memory leak somewhere? > > > > > > > > Yes, definitely. > > > > > > > > > Lukas has > > > > > suggested killing processes one by one at the process browser. > > > > > > > > Among other things. I'm not convinced killing process fixes you problem. > > > > > > > > > How do > > > > > I do this? > > > > > > > > - open the process brower > > > > - select a process > > > > - right click > > > > - terminate > > > > > > > > note that you can not kill some vital processes > > > > > > > > > It does seem unusual that the OS should report 800 MB or > > > > > memory being used by the app. > > > > > > > > It's not the OS, it's Squeak. > > > > > > > > Cheers > > > > Philippe > > > > > > > > > > > > > On Nov 18, 2007 6:15 PM, Philippe Marschall > > > > > <[hidden email]> wrote: > > > > > > 2007/11/18, Ching de la Serna <[hidden email]>: > > > > > > > Hi Philippe, > > > > > > > > > > > > > > I am using Squeak (I presume when you mentioned VW you meant Visual > > > > > > > Works?) I have 4GB of physical memory > > > > > > > > > > > > No I meant VM. You a single process on a 32bit OS will never have 4 GB > > > > > > of virtual memory. In general you are limited to 2 GB of virtual > > > > > > memory unless you play special tricks. This is completely independend > > > > > > of your physical memory size > > > > > > > > > > > > Cheers > > > > > > Philippe > > > > > > > > > > > > > > > > > > > Thanks, > > > > > > > > > > > > > > Ching > > > > > > > > > > > > > > On Nov 18, 2007 6:01 PM, Philippe Marschall > > > > > > > <[hidden email]> wrote: > > > > > > > > 2007/11/18, Ching de la Serna <[hidden email]>: > > > > > > > > > > > > > > > > > Hi Seaside, > > > > > > > > > > > > > > > > > > This problem has been bedeviling me for a long time now. I could not > > > > > > > > > properly start my image after I got a message, "Space is low". When I > > > > > > > > > checked, Squeak.exe process was reported to be 800,000 MB and I had > > > > > > > > > 2GB of memory. Several other processes were competing with the 2GB > > > > > > > > > memory. > > > > > > > > > > > > > > > > > > I proceeded to try to solve this by adding more memory. Now, I have 4 > > > > > > > > > GB of physical memory and my app started fine. When I proceeded to add > > > > > > > > > more methods and tried to save, I lost my app in that it stopped and > > > > > > > > > would not start again. Can anyone tell me what is going on here? my > > > > > > > > > image is a little over 800 MB and my memory manager reports available > > > > > > > > > memory in excess of 2GB > > > > > > > > > > > > > > > > There is a difference between physical and virtual memory. Using > > > > > > > > Squeak images of this size is unknown territory. You'll have to use a > > > > > > > > recent VW and are very likely to spend a considerable amount of time > > > > > > > > on garbage collection. > > > > > > > > > > > > > > > > Cheers > > > > > > > > Philippe > > > > > > > > > > > > > > > > > Thanks for the help, > > > > > > > > > > > > > > > > > > Ching > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > > > seaside mailing list > > > > > > > > > [hidden email] > > > > > > > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > > seaside mailing list > > > > > > > > [hidden email] > > > > > > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > seaside mailing list > > > > > > > [hidden email] > > > > > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > > > > > > > > > _______________________________________________ > > > > > > seaside mailing list > > > > > > [hidden email] > > > > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > > > > > > > _______________________________________________ > > > > > seaside mailing list > > > > > [hidden email] > > > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > > > > > _______________________________________________ > > > > seaside mailing list > > > > [hidden email] > > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > > > _______________________________________________ > > > seaside mailing list > > > [hidden email] > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > _______________________________________________ > > seaside mailing list > > [hidden email] > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Hi Phlippe,
You're right. I have 8 process which I can select, the 9th is the idle process. Running my app brings up the seaside processes which can be terminated. On another note, I should tell you that I use Magma for persistent objects. Remember earlier when I said the memory usage was down to 235 MB, when I evaluated a method which did some Magma stuff, the memory usage jumped to 800+ MB and I suspect I might be doing something wrong there. Ching On Nov 18, 2007 7:25 PM, Philippe Marschall <[hidden email]> wrote: > 2007/11/18, Ching de la Serna <[hidden email]>: > > Thanks Philippe, > > > > It seems to me I only have vital processes running at this point. > > That would make 8 process and may an additional 9th Seaside process > that you should be able to kill. Can you post a list of your > processes? > > Cheers > Philippe > > > > Funny thing is, memory use is down to 235 MB and I have started to run > > the Seaside app from localhost. > > > > Ching > > > > On Nov 18, 2007 7:00 PM, Philippe Marschall > > <[hidden email]> wrote: > > > 2007/11/18, Ching de la Serna <[hidden email]>: > > > > Hi Philippe, > > > > > > > > I have a process browser open. Selecting a process, I right click and I get > > > > inspect > > > > explore > > > > find again.. > > > > I cannot find a terminate option > > > > > > As I said, you can not terminate some vital processes. Select a > > > non-vital process. > > > > > > Cheers > > > Philippe > > > > > > > > > > Ching > > > > > > > > On Nov 18, 2007 6:43 PM, Philippe Marschall > > > > <[hidden email]> wrote: > > > > > 2007/11/18, Ching de la Serna <[hidden email]>: > > > > > > I see. Do you think I have a memory leak somewhere? > > > > > > > > > > Yes, definitely. > > > > > > > > > > > Lukas has > > > > > > suggested killing processes one by one at the process browser. > > > > > > > > > > Among other things. I'm not convinced killing process fixes you problem. > > > > > > > > > > > How do > > > > > > I do this? > > > > > > > > > > - open the process brower > > > > > - select a process > > > > > - right click > > > > > - terminate > > > > > > > > > > note that you can not kill some vital processes > > > > > > > > > > > It does seem unusual that the OS should report 800 MB or > > > > > > memory being used by the app. > > > > > > > > > > It's not the OS, it's Squeak. > > > > > > > > > > Cheers > > > > > Philippe > > > > > > > > > > > > > > > > On Nov 18, 2007 6:15 PM, Philippe Marschall > > > > > > <[hidden email]> wrote: > > > > > > > 2007/11/18, Ching de la Serna <[hidden email]>: > > > > > > > > Hi Philippe, > > > > > > > > > > > > > > > > I am using Squeak (I presume when you mentioned VW you meant Visual > > > > > > > > Works?) I have 4GB of physical memory > > > > > > > > > > > > > > No I meant VM. You a single process on a 32bit OS will never have 4 GB > > > > > > > of virtual memory. In general you are limited to 2 GB of virtual > > > > > > > memory unless you play special tricks. This is completely independend > > > > > > > of your physical memory size > > > > > > > > > > > > > > Cheers > > > > > > > Philippe > > > > > > > > > > > > > > > > > > > > > > Thanks, > > > > > > > > > > > > > > > > Ching > > > > > > > > > > > > > > > > On Nov 18, 2007 6:01 PM, Philippe Marschall > > > > > > > > <[hidden email]> wrote: > > > > > > > > > 2007/11/18, Ching de la Serna <[hidden email]>: > > > > > > > > > > > > > > > > > > > Hi Seaside, > > > > > > > > > > > > > > > > > > > > This problem has been bedeviling me for a long time now. I could not > > > > > > > > > > properly start my image after I got a message, "Space is low". When I > > > > > > > > > > checked, Squeak.exe process was reported to be 800,000 MB and I had > > > > > > > > > > 2GB of memory. Several other processes were competing with the 2GB > > > > > > > > > > memory. > > > > > > > > > > > > > > > > > > > > I proceeded to try to solve this by adding more memory. Now, I have 4 > > > > > > > > > > GB of physical memory and my app started fine. When I proceeded to add > > > > > > > > > > more methods and tried to save, I lost my app in that it stopped and > > > > > > > > > > would not start again. Can anyone tell me what is going on here? my > > > > > > > > > > image is a little over 800 MB and my memory manager reports available > > > > > > > > > > memory in excess of 2GB > > > > > > > > > > > > > > > > > > There is a difference between physical and virtual memory. Using > > > > > > > > > Squeak images of this size is unknown territory. You'll have to use a > > > > > > > > > recent VW and are very likely to spend a considerable amount of time > > > > > > > > > on garbage collection. > > > > > > > > > > > > > > > > > > Cheers > > > > > > > > > Philippe > > > > > > > > > > > > > > > > > > > Thanks for the help, > > > > > > > > > > > > > > > > > > > > Ching > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > > > > seaside mailing list > > > > > > > > > > [hidden email] > > > > > > > > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > > > seaside mailing list > > > > > > > > > [hidden email] > > > > > > > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > > seaside mailing list > > > > > > > > [hidden email] > > > > > > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > seaside mailing list > > > > > > > [hidden email] > > > > > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > > > > > > > > > _______________________________________________ > > > > > > seaside mailing list > > > > > > [hidden email] > > > > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > > > > > > > _______________________________________________ > > > > > seaside mailing list > > > > > [hidden email] > > > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > > > > > _______________________________________________ > > > > seaside mailing list > > > > [hidden email] > > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > > > _______________________________________________ > > > seaside mailing list > > > [hidden email] > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > _______________________________________________ > > seaside mailing list > > [hidden email] > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |