Re: (ot) SQL bulk inserts, ftps, and unicode special characters

2013-03-26 Thread Paul Hastings
On 3/27/2013 3:08 AM, Rick Root wrote: > AMEX � ADR Box > > The em dash seems to come through in my text file is 3 characters when I > view it in notepad++ that's because your data is garbaged or its encoding is either missing or misidentified or i guess notepad++ doesn't understand unicode (n

Re: Memory Leak in CF10?

2013-03-26 Thread Dave Watts
> So all I need to do is increase the heap? There's no magic "Windows, you > get 1gig, CF you get 3gig" configurator, > correct? Windows will use whatever is left over after CF stakes its claim? I'd just increase it to 2048 and see what happens. If you do that and CF's memory usage remains

Re: Memory Leak in CF10?

2013-03-26 Thread Adam Cameron
It's the other way around. Windows will take whatever it decides it needs, irrespective of anything else. Other settings need to fit around that. So you basically need to say "whatever RAM I've got... 1GB (personally I would have maybe gone for 1.5GB) of that is lost to Windows. I can do somethin

Re: Memory Leak in CF10?

2013-03-26 Thread Mik Muller
So all I need to do is increase the heap? There's no magic "Windows, you get 1gig, CF you get 3gig" configurator, correct? Windows will use whatever is left over after CF stakes its claim? Sorry for my ignorance. I'm just a simple scripter. I don't know too much about server memory, etc,

Re: Memory Leak in CF10?

2013-03-26 Thread Adam Cameron
OK, well that's OK... even 500MB ain't a huge amount of RAM for CF to be using (as the other guys alluded to). Keep an eye on your GC and perhaps have a shufti around in memory to see if there's any actual clutter in there you don't expect (a lot of stray sessions etc), but on the whole if reques

Re: CF Builder - open multiple configured files

2013-03-26 Thread Dan O'Keefe
Thanks Mark, going to give that a shot. -- Dan O'Keefe On Tue, Mar 19, 2013 at 8:18 AM, Mark Drew wrote: > > I am sure you can use mylyn for this. They are called contexts and it > remembers the arrangement and files that you have open for a specific > "ticket". > > In your case y

Re: Memory Leak in CF10?

2013-03-26 Thread Mik Muller
Yup. An hour later and it's still bouncing between 450mb and 460mb with an occasional spikes up to 500mb. It is a little slower, however, but it's up. I'll take that for now until I figure out the larger problem. Thanks to Dave Watts for mentioning the heap. I recall that I had to tweak that

Re: Memory Leak in CF10?

2013-03-26 Thread Dave Watts
> Was on 32 bit CF9 (Sorry, did I say CF8? I was on CF9 -- how did I miss that?) > > Am on 64 bit CF10 > > The old server had max heap set to 1024. > > The new had it set to 512. I just bumped it up to 1024. When you switch from 32- to 64-bit, you may find you need more memory than you used to. I

Re: Memory Leak in CF10?

2013-03-26 Thread Russ Michaels
having 4GB of RAM is no good if your only going to allow CF to use 256mb of it. Reserve 1GB for Windows and DNS services and whack it up to 3GB. Your memory usage is obviously going to be higher than before because your using 64bit now and were using 32bit before. This results in at least 1.5x mor

Re: Memory Leak in CF10?

2013-03-26 Thread Mik Muller
Well, after restarting CF I saw the memory usage in Services shoot straight up to 750mb instead of first hovering around 650mb for a while and then slowly moving up to 750mb. So I set the max heap size down to 256 and restarted CF. Now it's hovering around 400mb and not moving much. The serve

Re: Memory Leak in CF10?

2013-03-26 Thread Adam Cameron
And is it still serving pages OK? I don't think the memory consumption in and of itself is a problem. -- Adam On 27 March 2013 09:01, Mik Muller wrote: > > 20 minutes later and coldfusion.exe's memory usage is bouncing between > 460mb and 470mb. > > Ugh. > > MM > > > At 03:41 PM 3/26/2013, Mi

Re: Memory Leak in CF10?

2013-03-26 Thread Mik Muller
20 minutes later and coldfusion.exe's memory usage is bouncing between 460mb and 470mb. Ugh. MM At 03:41 PM 3/26/2013, Mik Muller wrote: >Well, after restarting CF I saw the memory usage in Services shoot straight up >to 750mb instead of first hovering around 650mb for a while and then slow

Re: Memory Leak in CF10?

2013-03-26 Thread Mik Muller
Was on 32 bit CF9 (Sorry, did I say CF8? I was on CF9 -- how did I miss that?) Am on 64 bit CF10 The old server had max heap set to 1024. The new had it set to 512. I just bumped it up to 1024. MM At 02:06 PM 3/26/2013, Dave Watts wrote: >> I moved all my code from a Win2003S/CF8 box to a W

Re: (ot) SQL bulk inserts, ftps, and unicode special characters

2013-03-26 Thread Rick Root
Sorry, the em dash is 915-199-244, not 915-244-71. a unicode em dash is unicode 2015 .. I'm not sure how these numbers relate though On Tue, Mar 26, 2013 at 4:08 PM, Rick Root wrote: > > Hi all, > > I am getting some data feeds from our SAP system (god help me). Some of > the data contai

(ot) SQL bulk inserts, ftps, and unicode special characters

2013-03-26 Thread Rick Root
Hi all, I am getting some data feeds from our SAP system (god help me). Some of the data contains unicode characters apparently like em dashes and such. For example, take the following string: AMEX – ADR Box The em dash seems to come through in my text file is 3 characters when I view it in n

Re: Impact of cross site scripting in google search appliance

2013-03-26 Thread funand learning
Ok. With existing XSLT, when I use alert statement in GSA URL, it throws an alert statement but the search results return a message "No results available". but when I use the same search term in google.com, it does not throw any alert statement. Do you think I need to update XSLT to not execute a

Re: Impact of cross site scripting in google search appliance

2013-03-26 Thread Dave Watts
> What do you mean when you said that it is possibe to modify default XSLT > and do dangerous things with inputs? I mean that the administrator of the GSA could log into the admin console, modify the XSLT manually, and include code to automatically execute JavaScript found in URL parameters. Just

Re: Impact of cross site scripting in google search appliance

2013-03-26 Thread funand learning
Dave, What do you mean when you said that it is possible to modify default XSLT and do dangerous things with inputs? Thanks On Tue, Mar 26, 2013 at 1:04 PM, Dave Watts wrote: > > > On our websites, we use google search appliance (GSA). When a user > enters a > > search term, and submits the f

Re: Impact of cross site scripting in google search appliance

2013-03-26 Thread funand learning
Dave, What do you mean when you said that it is possibe to modify default XSLT and do dangerous things with inputs? Thanks, Lavanya On Tue, Mar 26, 2013 at 1:04 PM, Dave Watts wrote: > > > On our websites, we use google search appliance (GSA). When a user > enters a > > search term, and submi

Re: Memory Leak in CF10?

2013-03-26 Thread Dave Watts
> I moved all my code from a Win2003S/CF8 box to a Win2008S/CF10 box and now am > having issues where CF loads blank > pages after a few hours of uptime. I'm noticing that the coldfusion.exe > service starts around 500mb of memory, and slowly > moves up to about 780mb of memory. As it tops 700m

Re: Impact of cross site scripting in google search appliance

2013-03-26 Thread Dave Watts
> On our websites, we use google search appliance (GSA). When a user enters a > search term, and submits the form, it goes to GSA.We are using GET method > hence the search term is passed as a URL variable. There is chance of > tampering the search term in the URL, for example adding alert stateme

Impact of cross site scripting in google search appliance

2013-03-26 Thread funand learning
All - On our websites, we use google search appliance (GSA). When a user enters a search term, and submits the form, it goes to GSA.We are using GET method hence the search term is passed as a URL variable. There is chance of tampering the search term in the URL, for example adding alert statemen

Memory Leak in CF10?

2013-03-26 Thread Michael Muller
I posted this to the Adobe forums as well. Totally perplexed. I moved all my code from a Win2003S/CF8 box to a Win2008S/CF10 box and now am having issues where CF loads blank pages after a few hours of uptime. I'm noticing that the coldfusion.exe service starts around 500mb o