Can javascript cause memory damaging?

  • Thread starter Thread starter mistral
  • Start date Start date
M

mistral

Can javascript cause memory damaging? When run incorrectly written script
that caused exhaustion of all memory and hung up Internet explorer, so only
possible close MSIE via Task Manager.. How to check the memory condition is
OK after such bugs?

thanks
 
mistral said:
Can javascript cause memory damaging? When run incorrectly written script
that caused exhaustion of all memory and hung up Internet explorer, so only
possible close MSIE via Task Manager.. How to check the memory condition is
OK after such bugs?

thanks

Applications can have "memory leaks" which ultimately results
in all available RAM being consumed by the leaky application.
However, this does not "damage" the PC's memory.
 
mistral said:
Can javascript cause memory damaging? When run incorrectly written
script that caused exhaustion of all memory and hung up Internet
explorer, so only possible close MSIE via Task Manager.. How to check
the memory condition is OK after such bugs?

thanks

Software cannot affect hardware.

Alias
 
Alias~- said:
mistral wrote:
Can javascript cause memory damaging? When run incorrectly written script
that caused exhaustion of all memory and hung up Internet explorer, so only
possible close MSIE via Task Manager.. How to check the memory condition is
OK after such bugs?

thanks
Software cannot affect hardware.

not sure this is correct, there was some issues in the past.
 
I recommend that you read ***all*** replies to your question.
Alias said that software does ***not*** damage the memory w
hereas I wrote that poorly written applications can cause
memory leaks. Why do you keep on asking if software can
damage your PC's memory?

Use the Task Manager to check on the amount of memory
currently available.
 
Alias~- said:
Software cannot affect hardware.

Alias

It is true that Malware can not, for instance, put a scratch on a platter of
a hard drive. But, as anyone who has ever "Flashed" the "BIOS" or the
"Firmware" of a Motherboard, Modem, Drive / RAID controller, Hard drive, or
CD/DVD drive knows, "BIOS" or "Firmware" is, in fact, software code (an
instruction set) that, can, indeed, be erased or over-written by Malware.

Although erasing or over-writing the instruction set for hardware does not
PHYSICALLY damage the hardware, it DOES render the hardware useless for its
intended use, thus giving the APPEARANCE of having been physically damaged.
Said hardware devices can not be used until/if a REPAIR is effected by
re-flashing the "BIOS" or "Firmware" with the manufacturer's instruction
set.

Steve
 
Og said:
It is true that Malware can not, for instance, put a scratch on a platter of
a hard drive. But, as anyone who has ever "Flashed" the "BIOS" or the
"Firmware" of a Motherboard, Modem, Drive / RAID controller, Hard drive, or
CD/DVD drive knows, "BIOS" or "Firmware" is, in fact, software code (an
instruction set) that, can, indeed, be erased or over-written by Malware.

Although erasing or over-writing the instruction set for hardware does not
PHYSICALLY damage the hardware, it DOES render the hardware useless for its
intended use, thus giving the APPEARANCE of having been physically damaged.
Said hardware devices can not be used until/if a REPAIR is effected by
re-flashing the "BIOS" or "Firmware" with the manufacturer's instruction
set.

Steve

True, but have you ever seen any program (legitimate or malware)
write anything to the BIOS while Windows is active (which is the
environment the OP works in)? It can't, because Windows won't
let it.
 
Pegasus (MVP) said:
True, but have you ever seen any program (legitimate or malware)
write anything to the BIOS while Windows is active (which is the
environment the OP works in)? It can't, because Windows won't
let it.

Pegasus:

I see nothing in your reply to support the statement:

"Software cannot affect hardware."

We both have friends or clients who have experienced a failure of electrical
power while they were flashing their computer's BIOS.



Given that most all of my hardware, with the exception of my Motherboards,
are firmware-flashed via a Windows utility, I conclude that it is possible
for a hacker to write Malware to alter/clear the Firmware of installed
hardware.

Admittedly, given the wide variety of hardware devices, such Malware is
UNLIKELY, but such Malware is, nonetheless, POSSIBLE.

Steve
 
Pegasus said:
True, but have you ever seen any program (legitimate or malware)
write anything to the BIOS while Windows is active (which is the
environment the OP works in)? It can't, because Windows won't
let it.

Sure. Some bios update programs are designed to run in Windoze. Silly, but
true.

--
Linux is ready for the desktop! More ready than Windoze XP.
http://tinyurl.com/ldm9d

You just can't play games on Linux!
http://tinyurl.com/kgszl
 
Og said:
Pegasus:

I see nothing in your reply to support the statement:

"Software cannot affect hardware."

We both have friends or clients who have experienced a failure of electrical
power while they were flashing their computer's BIOS.



Given that most all of my hardware, with the exception of my Motherboards,
are firmware-flashed via a Windows utility, I conclude that it is possible
for a hacker to write Malware to alter/clear the Firmware of installed
hardware.

Admittedly, given the wide variety of hardware devices, such Malware is
UNLIKELY, but such Malware is, nonetheless, POSSIBLE.

Steve

Um, the OP was talking about java script, not some weird scenario with
flashing BIOS. But, hey, if it makes you feel more like a man, you're
right, in some off the wall, very unlikely scenarios, it's possible that
software can affect hardware.

Sheesh!

Alias
 
Alias~- said:
Um, the OP was talking about java script, not some weird scenario with
flashing BIOS. But, hey, if it makes you feel more like a man, you're
right, in some off the wall, very unlikely scenarios, it's possible that
software can affect hardware.

Sheesh!

Alias
Actually, it was the power outage that kept the software from completing the
flash. The outage resulted in the BIOS being in a partial state.
Next thing we know, software will be causing the AC power in the house to go
out...
Jim
 
Can javascript cause memory damage?

Yes, definitely.

Last web-app I wrote, staggered to bed at 3am and couldn't even remember my
own phone-number in the morning.

Seriously, no.
 
Ian said:
Can javascript cause memory damage?

Yes, definitely.

Last web-app I wrote, staggered to bed at 3am and couldn't even remember
my
own phone-number in the morning.

Seriously, no.
 
mistral said:
Can javascript cause memory damaging? When run incorrectly written script
that caused exhaustion of all memory and hung up Internet explorer, so
only possible close MSIE via Task Manager.. How to check the memory
condition is OK after such bugs?

Go take a basic computers course at your local Learning Annex. Software
can't damage RAM. RAM can go bad over time or due to manufacturing defect,
but not because of some errant javascript.

I would strongly suggest using Mozilla Firefox as a browser instead, as it
tends to render more sites smoothly and in a standards-compliant way, as
well as not having as many security holes. A lot of sites that are coded
to the standard and work fine in every other browser have a tendency to not
look right in IE or possibly lock up IE entirely.
 
Alias~- said:
Software cannot affect hardware.

Not entirely true. Go ahead, get a Linux box and install X11 with radically
wrong monitor settings on an old CRT: If your CRT is more than a few years
old (and thus doesn't turn off when it gets a signal that's out of range),
and the horizontal and vertical refresh rates you specify are too far
wrong, you'll get a nice scrambled picture. Given enough time, it will
smoke and catch fire.

Some processor architectures (such as the Motorola 68000), for whatever
reason, include the instruction "HCF", halt and catch fire. It basically
stops the machine, and starts toggling everything it can on and off as fast
as it can. Given enough time, even with a heatsink, it will catch fire.

Windows with it's fragmentable filesystems and endless bloat is extremely
effective at destroying hard drive servos faster than under other OS's that
use smarter filesystems where fragmentation isn't an issue (reiserfs, ext3,
ext2, probably others, but NTFS and VFAT aren't in that list).
 
mistral said:
CPU usage show 100%, plus was few applications run, this make system very
unstable, and ending IE may cause crash.

Don't use IE for that site/at all, then.
 
Alias~- said:
Um, the OP was talking about java script, not some weird scenario with
flashing BIOS. But, hey, if it makes you feel more like a man, you're
right, in some off the wall, very unlikely scenarios, it's possible that
software can affect hardware.

That's not exactly an unlikely scenario. Any computer repair technician can
tell you this.
 
mistral said:
Can javascript cause memory damaging? When run incorrectly written script
that caused exhaustion of all memory and hung up Internet explorer, so
only possible close MSIE via Task Manager.. How to check the memory
condition is OK after such bugs?

memtest86 is out there to test RAM, but you're wasting your time. You might
want to take a basic computer learning course to understand why.
 
Paul Johnson said:
I would strongly suggest using Mozilla Firefox as a browser instead, as it
tends to render more sites smoothly and in a standards-compliant way, as
well as not having as many security holes. A lot of sites that are coded
to the standard and work fine in every other browser have a tendency to not
look right in IE or possibly lock up IE entirely.

You're so fulla shit. If Firefox renders more sites readable than IE
why is their a plugin for Firefox (might be built in now) that will
mimic IE when it can't read sites properly?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top