Potentially lots of small files. -----Original Message----- From: Douglas Knudsen [mailto:[EMAIL PROTECTED] Sent: Monday, July 17, 2006 9:12 AM To: CF-Server Subject: Re: Out of memory
are these large text files? maye a large amount of small ones concurrently? a file read would be in memory for a bit. DK On 7/17/06, Shawn McKee <[EMAIL PROTECTED]> wrote: > > Open up a text file, read it in to memory, serve it up to the user who > edits > it and then we write it back to disk. > > -----Original Message----- > From: Douglas Knudsen [mailto:[EMAIL PROTECTED] > Sent: Monday, July 17, 2006 8:40 AM > To: CF-Server > Subject: Re: Out of memory > > > "Recently we implemented several applications that do a lot of file I/O." > > what is meant by this? What kind of file I/O? > > DK > > On 7/17/06, Shawn McKee <[EMAIL PROTECTED]> wrote: > > > > JVM Heap is a minimum of 512 and a maximum of 1024 on a box with 2GB of > > memory, not the 1GB I thought. > > > > -----Original Message----- > > From: James Holmes [mailto:[EMAIL PROTECTED] > > Sent: Monday, July 17, 2006 8:12 AM > > To: CF-Server > > Subject: Re: Out of memory > > > > > > The bigger boxes will still only have 512 MB available to CF - It's > > not an automatic thing. You'll need to manually set the memory > > parameters for all your servers. > > > > On 7/17/06, Shawn McKee <[EMAIL PROTECTED]> wrote: > > > Thanks. Will try this out. Still worries me that the bigger box show > > the > > > same symptoms. > > > > > > -----Original Message----- > > > From: James Holmes [mailto:[EMAIL PROTECTED] > > > Sent: Sunday, July 16, 2006 9:12 PM > > > To: CF-Server > > > Subject: Re: Out of memory > > > > > > > > > CF uses 512 MB of memory by default, so putting it on a box that has > > > only 512 MB of RAM is going to cause a lot of swapping. Now it sounds > > > like your app needs more memory than the base 512, so it's going to > > > cause even more swapping. > > > > > > You can increase the memory in the JVM settings, but first throw an > > > extra couple of gigs of RAM at the boxes. RAM is really cheap at the > > > moment so it's really worth the minor expense. > > > > > > On 7/17/06, Shawn McKee <[EMAIL PROTECTED]> wrote: > > > > Recently we implemented several applications that do a lot of file > > I/O. > > > We > > > > have begun getting the following error message a lot. > > > > > > > > Detail The cause of this exception was that: java.io.IOException: > > > > java.io.IOException: Cannot allocate memory. > > > > Message An exception occurred when invoking an external process. > > > > RootCause java.io.IOException: java.io.IOException: Cannot allocate > > memory > > > > > > > > We are running MX 6.1 on Dell PowerApp Web 100, 600MHz PIII with > about > > 1/2 > > > a > > > > gig of memory. Recently the same problem began on beefier boxes as > > well. > > > > Dual CPU with about a gig of memory. > > > > > > > > Any known issues with memory leaks and file I/O > > > > > > > > Thanks, > > > > > > > > Shawn McKee > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/cf_lists/message.cfm/forumid:10/messageid:6041 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:10 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.10
