Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Importing and splitting large text file | Excel Programming | |||
Importing a large text file | Excel Discussion (Misc queries) | |||
Importing a large txt file | Excel Programming | |||
Excel 2003 Importing large delimited text file | Excel Programming | |||
Importing a large text file (65536) | Excel Programming |