Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 08-06-2002, 09:27 PM   #1 (permalink)
abc123
bloomberg
 
abc123's Avatar
 
Join Date: Jun 2002
Location: bloomberg
Posts: 263
abc123 is on a distinguished road
Send a message via AIM to abc123 Send a message via Yahoo to abc123
oops memory!

okay, so I made a "while" loop on java:

Code:
while(x == true)
{
 //do things
}
and, like an idiot, forgot to set x to false anywhere...

now, inside this loop, it also happened to be writing to the disk and by the time i realized what was happening, bamn, i have a 125 meg html file

now, I CANNOT!!!! delete the damn thing
(the file)

I have restarted since, still no luck and infact i just COPIED the file somewhere, tried to delete the COPY and STILL on luck

I really am at a loss as of how to get rid of this thing and am quite amazed that somewhere it is still being accessed by a program.. i have no idea which one

can anyone help me out here?
__________________
-- bloomberg.
abc123 is offline   Reply With Quote
Old 08-07-2002, 06:47 AM   #2 (permalink)
toe_cutter
Code Monkey
 
Join Date: Aug 2002
Location: Boston, MA
Posts: 79
toe_cutter is on a distinguished road
Send a message via ICQ to toe_cutter Send a message via AIM to toe_cutter Send a message via Yahoo to toe_cutter
What OS?

Did you check permissions on file?

If windows you might be able to boot to DOS and delete it that way.

Of course you could always format.

Toe
toe_cutter is offline   Reply With Quote
Old 08-07-2002, 10:39 AM   #3 (permalink)
technobard
Centurion Nova Prime
 
technobard's Avatar
 
Join Date: May 2002
Location: Oak Park, IL (USA)
Posts: 287
technobard is on a distinguished road
If you're in some Windows flavor, try deleting the java.exe process. I've had similar problems (although not as severe).

Still, not being able to delete the copy is weird. What error message do you get?
technobard is offline   Reply With Quote
Old 08-07-2002, 04:07 PM   #4 (permalink)
abc123
bloomberg
 
abc123's Avatar
 
Join Date: Jun 2002
Location: bloomberg
Posts: 263
abc123 is on a distinguished road
Send a message via AIM to abc123 Send a message via Yahoo to abc123
im on windows xp

actually i can copy the file, but i cannot DELETE the copy of the file, which is really weird...

and i have no java.exe process running so i dont know what its problem is, maybe i will try booting into dos i guiess..

wish i had a prog to see what process was accessing certain files...
__________________
-- bloomberg.
abc123 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
BIOS Problem (American Megatrends) plonkeroo Windows 12 09-29-2004 03:54 PM
can someone please explain this to me ecox76 Standard C, C++ 7 03-04-2003 07:46 PM


All times are GMT -8. The time now is 12:18 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC8 ©2007, Crawlability, Inc.





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting