Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
J@Y J@Y is offline
external usenet poster
 
Posts: 127
Default Importing large text file ERROR

I am importing a large text file into Excel using MS's macro (ie: creating
mulitple worksheets)
After about 1 million lines, I get this error message saying I don't have
enough resources to complete the task. I have about 2 gigs for physiscal
memory and 3 gigs of virtual memory. What exactly is the resources refering
to?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 135
Default Importing large text file ERROR

On Jun 26, 12:35 pm, J@Y wrote:
I am importing a large text file into Excel using MS's macro (ie: creating
mulitple worksheets)
After about 1 million lines, I get this error message saying I don't have
enough resources to complete the task. I have about 2 gigs for physiscal
memory and 3 gigs of virtual memory. What exactly is the resources refering
to?


You already posted this message not even 30 minutes ago. Be patient
and try not to add more posts than necessary.

I'm not sure how you are interacting with your text file, but keep in
mind that Excel has a row and column limitation to it (depending on
the version of Excel you have). Also, the more data you have (i.e.
lots of row, column data or lots of worksheets), the more resources
Excel needs to keep track of where all of the data is. If you are
adding hundreds of worksheets than you can expect Excel to get bogged
down.

Matt

  #3   Report Post  
Posted to microsoft.public.excel.programming
J@Y J@Y is offline
external usenet poster
 
Posts: 127
Default Importing large text file ERROR

First of all, this is a different post from the last. If you were reading
correctly, this is refering to Excel memory issue, not HOW to import large
files.

Second, I said specifically at 1 million lines, thats at number 16 on the
worksheets, that is no where near excessive in terms of worksheets.

However, I have just read something about a maximum of 1 million lines
storable per workbook for excel 2003. Can someone confirm that? And is there
a way around it?

" wrote:

On Jun 26, 12:35 pm, J@Y wrote:
I am importing a large text file into Excel using MS's macro (ie: creating
mulitple worksheets)
After about 1 million lines, I get this error message saying I don't have
enough resources to complete the task. I have about 2 gigs for physiscal
memory and 3 gigs of virtual memory. What exactly is the resources refering
to?


You already posted this message not even 30 minutes ago. Be patient
and try not to add more posts than necessary.

I'm not sure how you are interacting with your text file, but keep in
mind that Excel has a row and column limitation to it (depending on
the version of Excel you have). Also, the more data you have (i.e.
lots of row, column data or lots of worksheets), the more resources
Excel needs to keep track of where all of the data is. If you are
adding hundreds of worksheets than you can expect Excel to get bogged
down.

Matt


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Importing large text file ERROR

The limit is around a million rows. The only way around it is to use a pivot
table which uses a completely different calculation engine and then you can
exceed teh million and still get relatively good performance. To do this you
need to load directly from the data source into the pivot table or to create
a cube...

Is there any chance that you could do what you are wanting to do in Access
or such. XL is really not the right tool for this job (IMO)... It doesn't
matter how hard you hit the nail with the screwdriver, it is still not the
right tool for the job.

--
HTH...

Jim Thomlinson


"J@Y" wrote:

First of all, this is a different post from the last. If you were reading
correctly, this is refering to Excel memory issue, not HOW to import large
files.

Second, I said specifically at 1 million lines, thats at number 16 on the
worksheets, that is no where near excessive in terms of worksheets.

However, I have just read something about a maximum of 1 million lines
storable per workbook for excel 2003. Can someone confirm that? And is there
a way around it?

" wrote:

On Jun 26, 12:35 pm, J@Y wrote:
I am importing a large text file into Excel using MS's macro (ie: creating
mulitple worksheets)
After about 1 million lines, I get this error message saying I don't have
enough resources to complete the task. I have about 2 gigs for physiscal
memory and 3 gigs of virtual memory. What exactly is the resources refering
to?


You already posted this message not even 30 minutes ago. Be patient
and try not to add more posts than necessary.

I'm not sure how you are interacting with your text file, but keep in
mind that Excel has a row and column limitation to it (depending on
the version of Excel you have). Also, the more data you have (i.e.
lots of row, column data or lots of worksheets), the more resources
Excel needs to keep track of where all of the data is. If you are
adding hundreds of worksheets than you can expect Excel to get bogged
down.

Matt


  #5   Report Post  
Posted to microsoft.public.excel.programming
J@Y J@Y is offline
external usenet poster
 
Posts: 127
Default Importing large text file ERROR

Thanks Jim. I'm not familiar with Access but will it be able to do Vlookup
like functions to the data after I have imported it from a textfile?



"Jim Thomlinson" wrote:

The limit is around a million rows. The only way around it is to use a pivot
table which uses a completely different calculation engine and then you can
exceed teh million and still get relatively good performance. To do this you
need to load directly from the data source into the pivot table or to create
a cube...

Is there any chance that you could do what you are wanting to do in Access
or such. XL is really not the right tool for this job (IMO)... It doesn't
matter how hard you hit the nail with the screwdriver, it is still not the
right tool for the job.

--
HTH...

Jim Thomlinson


"J@Y" wrote:

First of all, this is a different post from the last. If you were reading
correctly, this is refering to Excel memory issue, not HOW to import large
files.

Second, I said specifically at 1 million lines, thats at number 16 on the
worksheets, that is no where near excessive in terms of worksheets.

However, I have just read something about a maximum of 1 million lines
storable per workbook for excel 2003. Can someone confirm that? And is there
a way around it?

" wrote:

On Jun 26, 12:35 pm, J@Y wrote:
I am importing a large text file into Excel using MS's macro (ie: creating
mulitple worksheets)
After about 1 million lines, I get this error message saying I don't have
enough resources to complete the task. I have about 2 gigs for physiscal
memory and 3 gigs of virtual memory. What exactly is the resources refering
to?

You already posted this message not even 30 minutes ago. Be patient
and try not to add more posts than necessary.

I'm not sure how you are interacting with your text file, but keep in
mind that Excel has a row and column limitation to it (depending on
the version of Excel you have). Also, the more data you have (i.e.
lots of row, column data or lots of worksheets), the more resources
Excel needs to keep track of where all of the data is. If you are
adding hundreds of worksheets than you can expect Excel to get bogged
down.

Matt




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Importing large text file ERROR

It is a database so you just need to create a table with the values you wnat
to look for and the join that table to the one that you created when you
imported... It is relatively easy but some knowledge of Access would be
mighty handy to have...
--
HTH...

Jim Thomlinson


"J@Y" wrote:

Thanks Jim. I'm not familiar with Access but will it be able to do Vlookup
like functions to the data after I have imported it from a textfile?



"Jim Thomlinson" wrote:

The limit is around a million rows. The only way around it is to use a pivot
table which uses a completely different calculation engine and then you can
exceed teh million and still get relatively good performance. To do this you
need to load directly from the data source into the pivot table or to create
a cube...

Is there any chance that you could do what you are wanting to do in Access
or such. XL is really not the right tool for this job (IMO)... It doesn't
matter how hard you hit the nail with the screwdriver, it is still not the
right tool for the job.

--
HTH...

Jim Thomlinson


"J@Y" wrote:

First of all, this is a different post from the last. If you were reading
correctly, this is refering to Excel memory issue, not HOW to import large
files.

Second, I said specifically at 1 million lines, thats at number 16 on the
worksheets, that is no where near excessive in terms of worksheets.

However, I have just read something about a maximum of 1 million lines
storable per workbook for excel 2003. Can someone confirm that? And is there
a way around it?

" wrote:

On Jun 26, 12:35 pm, J@Y wrote:
I am importing a large text file into Excel using MS's macro (ie: creating
mulitple worksheets)
After about 1 million lines, I get this error message saying I don't have
enough resources to complete the task. I have about 2 gigs for physiscal
memory and 3 gigs of virtual memory. What exactly is the resources refering
to?

You already posted this message not even 30 minutes ago. Be patient
and try not to add more posts than necessary.

I'm not sure how you are interacting with your text file, but keep in
mind that Excel has a row and column limitation to it (depending on
the version of Excel you have). Also, the more data you have (i.e.
lots of row, column data or lots of worksheets), the more resources
Excel needs to keep track of where all of the data is. If you are
adding hundreds of worksheets than you can expect Excel to get bogged
down.

Matt


  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Importing large text file ERROR

XL's memory is limited and depends on which version of XL you are using...
Check out this link... There is also some good info on calculation. If you
intend to do any calcs against the million records it probably will not work
out for you...

http://www.decisionmodels.com/memlimits.htm
http://www.decisionmodels.com/calcsecrets.htm
--
HTH...

Jim Thomlinson


"J@Y" wrote:

I am importing a large text file into Excel using MS's macro (ie: creating
mulitple worksheets)
After about 1 million lines, I get this error message saying I don't have
enough resources to complete the task. I have about 2 gigs for physiscal
memory and 3 gigs of virtual memory. What exactly is the resources refering
to?

  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Importing large text file ERROR

I think you should have got the message by now that Excel is not the right
tool for your requirements.
Use a (proper) database approach.

NickHK

"J@Y" wrote in message
...
I am importing a large text file into Excel using MS's macro (ie: creating
mulitple worksheets)
After about 1 million lines, I get this error message saying I don't have
enough resources to complete the task. I have about 2 gigs for physiscal
memory and 3 gigs of virtual memory. What exactly is the resources

refering
to?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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
Importing and splitting large text file JeffMelton Excel Programming 1 August 29th 06 12:29 AM
Importing a large text file hmm Excel Discussion (Misc queries) 4 March 15th 06 03:13 PM
Importing a large txt file Luis[_6_] Excel Programming 2 June 5th 05 05:03 PM
Excel 2003 Importing large delimited text file Ron[_28_] Excel Programming 2 January 5th 05 02:58 PM
Importing a large text file (65536) Chip Pearson Excel Programming 0 May 18th 04 09:24 PM


All times are GMT +1. The time now is 11:36 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"