Regarding memory management, when I did 'C' at college for my IT degree, we
were forever warned about the dangers of pointers. The power (and problems)
of C stems from the use of pointers (to memory locations). What makes C so
powerful is that it's pointers can point to literally anywhere in memory and
so can be used to provide low-level access to operating system memory and so
on. But the real danger with pointers is that there are no boundary checks -
and it's up to the programmer to create and destroy pointers and to ensure
they don't go astray (with incremental access, say) and literally crash into
other areas of memory (besides what has been allocated to the program by the
OS) and maybe overwrite/corrupt whatever is there. According to the
lecturers, in independent tests, more than 70% of software errors were laid
at the door of errant C pointers!
In the OOP world of C++, objects are created and (should be) destroyed by
applications. But it is not automatically done - C/C++ doesn't have the
automatic garbage collection of Java and BASIC, and programmers don't always
remember to destroy pointers and objects they've created - which results in
memory leaks and other problems. Nearly all Windows GPFs (memory General
Protection Faults) are the resut of errant pointers and memory leakage.
This is one of the reasons why Visual Basic has been so successful - even
hard-headed C/C++ programmers appreciate the garbage collection done by VB
(for a very small penalty in performance).
Allan
PS No trees were harmed in the sending of this message and a very large
number of electrons were asked their permission to be terribly
inconvenienced. (And threw a party for them afterwards for being really cool
about it).
Disrupting the unnatural balance that you, as a conscious human being and a
confused mass of energy, have created.
-Disturb the mind -
>From: Chuck Norcutt <chucknorcutt@xxxxxxxxxxxxxxxx>
>Reply-To: olympus@xxxxxxxxxx
>To: olympus@xxxxxxxxxx
>Subject: [OM] Re: [OT] Computer question
>Date: Fri, 08 Dec 2006 09:16:17 -0500
>
>My version got cropped somehow. Maybe a memory management bug :-)
>It was supposed to say: "Just a wild guess but I would suspect that the
>print spooler encountered a bug and crashed. Try rebooting both
>machines involved."
>
>
>Chuck Norcutt wrote:
>
> > a bug and crashed. Try rebooting both machines involved.
> >
> > Some folks like to brag about how stable their systems are. Why it's
> > been running for over 100 years and has never crashed. I have a
> > different view. Memory management errors can be cumulative. They can
> > be happening and not causing any problem until some specific event
> > occurs. They can also be happening and causing subtle problems you
> > aren't aware of and may not be aware of for a long time.
> >
> > If you're not running a critical 24x7 service then don't mess around.
> > Power down in the evening and reboot every morning and force the memory
> > contents to be cleared and refreshed. This may not be your problem but
> > easily could be. Shutting down and rebooting only takes a couple of
> > minutes and may clear away a lot of evils.
> >
> > Chuck Norcutt
> >
> >
> >
> > John Hermanson wrote:
> >
> >
> >>I had been printing to our new Canon 9000 through our network and it had
> >>been working fine. Now, out of nowhere, I CAN'T print through the
> >>network and I get the message "print spooler service is not running".
> >>Any computer whiz have insight for this? I appreciate all help.
> >>
> >>___________________________________
> >>John Hermanson
> >>Camtech Photo Services, Inc.
> >>21 South Lane, Huntington NY 11743
> >>631-424-2121 | Olympus OM Service since 1977
> >>http://www.zuiko.com | omtech1 AT verizon.net
> >>
> >>
> >>
> >>
> >>==============================================
> >>List usage info: http://www.zuikoholic.com
> >>List nannies: olympusadmin@xxxxxxxxxx
> >>==============================================
> >>
> >>
> >
> >
> >
> > ==============================================
> > List usage info: http://www.zuikoholic.com
> > List nannies: olympusadmin@xxxxxxxxxx
> > ==============================================
> >
> >
>
>
>==============================================
>List usage info: http://www.zuikoholic.com
>List nannies: olympusadmin@xxxxxxxxxx
>==============================================
_________________________________________________________________
Stay up-to-date with your friends through the Windows Live Spaces friends
list.
http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mk
==============================================
List usage info: http://www.zuikoholic.com
List nannies: olympusadmin@xxxxxxxxxx
==============================================
|