Chris Hengge wrote: > I'm thinking you either have a problem with a memory leak (my memory > isn't changing, just at 100% CPU), or your CPU overheated from poor > cooling since it is at 100% utilization. yeah I second this... there's no reason why this would reboot your computer. At Chris: It's building a string that's 1,000,000 characters long, so it should be increasing your memory usage by at least 1,000,000 characters, or 1 mb. But that's over a probably long period of time, so you just didn't notice any change. > > On 11/17/06, *Chris Hengge* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Well, I dont get the point.. its not locking up my system or > anything.. its just crunching away... even while I type this... > I guess your point is that it should stop since a 32 bit O/S can > only count to: > 4,294,967,296 > > On 11/17/06, *Thomas* < [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Earlier today I typed the following into my pythonwin > interactive interpreter in windows xp: > > >>> int('7' * 10 ** 6) > > I expected either an error message or it to get stuck and > require me to stop the process manually. > > I read that unlike long integers in C, longs in python are > only limited by the amount of memory (and virtual memory) your > system has. > > Can you guess what it did? > > I'm temped to end the post here, but I'm new to this list and > its possible that people might be annoyed by me not getting to > the point within my initial post, so here's what it did: > > It thought about it for about 2 seconds then restarted my pc! > explanations welcome. >
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor