Solved

Amount of files on win2K URGENT 500

Posted on 2007-03-19
3
278 Views
Last Modified: 2010-03-05
Hello all,

I have a program that is downloading all the images from a server and saving it to a local folder on my win2k server.
I am getting a memeory read error once the folder reaches the amount of 100,000 files. The files that are downloaded are jpeg.  
The folder size is only 2 gig which is nothing compared to free space I have on the Hdrive. The hdriveis 500 gigs.
When I call the company that provided the software they told me I have to change the amout of files that windows allows in one directory of folder to have.
Is this true and if so how do I change this setting.

Best Regards
Eteran
0
Comment
Question by:eteran
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 9

Expert Comment

by:Bill_Fleury
ID: 18750934
What file system are you running on the drive you are copying to?  According to the chart shown here:

http://www.windowsitpro.com/Articles/Index.cfm?ArticleID=27253&DisplayTab=Article

you should be able to store many more than 100000 files in a directory if it's NTFS.  They do mention that long filenames lower the number of files allowed in a directory, but don't explain why or by how much.

If you are running NTFS and are getting the error, then it's probably due to something other than the number of files allowed in the directory.  Does it always die on the same file?  What if you were to temporarily move that file then try the copy again, does it die on the very next file or does it keep going?  Have you chkdsk'd the drive to ensure there are no bad sectors?  
0
 
LVL 29

Accepted Solution

by:
Alan Huseyin Kayahan earned 250 total points
ID: 18751035
      If they knew how this feature is set, they would tell you. That means they dont know howto do this. And i have never seen such kind of a setting. I assume that this is a file system issue. And NTFS should have limits of files in one folder.
       Lets say that you have resolved the issue and now you are able to record more than 100.000. But this time, when you try to browse that directory, your explorer will stuck and freeze.
       This issue also a subjet to fragmentation. I used to have a similar issue like yours. I have Evertech security systems that record from 30 different cameras to one HDD. But i couldnt browse the folders because there were too many files in it and browser were getting stuck. I called the company technicians and they applied a script that creates a new folder.
     
0
 
LVL 9

Assisted Solution

by:Bill_Fleury
Bill_Fleury earned 250 total points
ID: 18751148
That's a good point MrHusy, I'm sure he could get his hands on a VBScript that would sort the files into directory's based on last modified date or something similar, help organize them a little better.
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
How to record audio from input sources to your PC – connected devices, connected preamp to record vinyl discs, streaming media, that play through your audio card: Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10 – both 32 bit & 64.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question