+ Reply to Thread
Results 1 to 48 of 48

Big List Sort. Not Enough Memory. Help Run my Code. Or help fix or change code Please :)

Hybrid View

Doc.AElstein Big List Sort. Not Enough... 09-15-2016, 01:18 PM
Winon Re: Big List Sort. Not Enough... 09-15-2016, 01:39 PM
Doc.AElstein Re: Big List Sort. Not Enough... 09-15-2016, 02:26 PM
Winon Re: Big List Sort. Not Enough... 09-15-2016, 02:51 PM
Doc.AElstein Re: Big List Sort. Not Enough... 09-15-2016, 03:02 PM
Winon Re: Big List Sort. Not Enough... 09-15-2016, 03:33 PM
Doc.AElstein Re: Big List Sort. Not Enough... 09-15-2016, 03:52 PM
Winon Re: Big List Sort. Not Enough... 09-15-2016, 04:27 PM
Doc.AElstein Re: Big List Sort. Not Enough... 09-15-2016, 07:05 PM
NoSparks Re: Big List Sort. Not Enough... 09-15-2016, 09:12 PM
Doc.AElstein Re: Big List Sort. Not Enough... 09-16-2016, 04:32 AM
humdingaling Re: Big List Sort. Not Enough... 09-15-2016, 10:34 PM
humdingaling Re: Big List Sort. Not Enough... 09-15-2016, 10:47 PM
xlnitwit Re: Big List Sort. Not Enough... 09-16-2016, 04:01 AM
humdingaling Re: Big List Sort. Not Enough... 09-16-2016, 07:54 AM
Winon Re: Big List Sort. Not Enough... 09-16-2016, 07:25 AM
Doc.AElstein Memories... of Runing out of... 09-16-2016, 08:05 PM
Doc.AElstein Day 2: Waiting for my last... 09-19-2016, 07:57 PM
Doc.AElstein I would toggle your code, if... 09-20-2016, 02:29 PM
Doc.AElstein Thrashing VBA Memory Leaks.... 10-05-2016, 08:59 AM
Doc.AElstein Thrashing VBA Memory Leaks.... 10-05-2016, 09:00 AM
xlnitwit Re: Big List Sort. Not Enough... 09-16-2016, 08:03 AM
Doc.AElstein Cache Browser Data ... 09-16-2016, 10:18 AM
humdingaling Re: Big List Sort. Not Enough... 09-16-2016, 11:04 AM
Doc.AElstein Looks like Excel is the... 09-16-2016, 11:33 AM
xlnitwit Re: Big List Sort. Not Enough... 09-16-2016, 11:56 AM
Doc.AElstein Got Big list from xlNitWit... 09-16-2016, 12:14 PM
xlnitwit Re: Big List Sort. Not Enough... 09-16-2016, 12:49 PM
Doc.AElstein Re: Big List Sort. Not Enough... 09-16-2016, 01:11 PM
Winon Re: Big List Sort. Not Enough... 09-16-2016, 08:53 PM
Doc.AElstein Delete, Close Doesn't "Clear"... 09-17-2016, 05:48 AM
Winon Re: Big List Sort. Not Enough... 09-17-2016, 11:04 AM
Doc.AElstein Re: Big List Sort. Not Enough... 09-17-2016, 11:36 AM
Doc.AElstein Re: Check Difference between... 09-18-2016, 08:26 AM
Doc.AElstein So two closed workbook code... 09-18-2016, 08:42 AM
xlnitwit Re: Big List Sort. Not Enough... 09-19-2016, 08:52 AM
Doc.AElstein Re: Big List Sort. Not Enough... 09-19-2016, 09:22 AM
xlnitwit Re: Big List Sort. Not Enough... 09-20-2016, 01:49 AM
Doc.AElstein Re: Big List Sort. Not Enough... 09-20-2016, 04:58 AM
xlnitwit Re: Big List Sort. Not Enough... 09-20-2016, 06:32 AM
Doc.AElstein Bugger... Another Theory of... 09-20-2016, 07:36 PM
Doc.AElstein Getting there :) ..... slowly... 09-22-2016, 09:53 AM
xlnitwit Re: Getting there :) ........ 09-22-2016, 11:28 AM
Doc.AElstein Re: Getting there :) -- Next... 09-23-2016, 05:00 PM
Doc.AElstein Re: Big List Sort. Not Enough... 06-08-2017, 06:56 AM
  1. #1
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: Big List Sort. Not Enough Memory. Help Run my Code. Or help fix or change code Please

    Hi
    I am just adding a short addition / update to this Thread, the subject of which continues to give me headaches.
    In another thread I once again occurred the strange phenomena/ Bug in Match which is the subject of this Thread. In the particular problem I had , I tried by chance an Evaluate(“ Match ____ “) alternative, and the problem at first glance appeared to be gone in that case.. ( https://www.excelforum.com/developme...ml#post4671944 )

    So I thought I should do a quick check on the codes and test data files used in this Thread.
    I did some simple mods to one of the codes tested in this Thread , ( Sub USDAToDBArraysThirdWB18RngObjects() ) .
    This was the basic idea , replacing the Application.Match lines with Evaluate(“ Match ____ “ )
             Let MtchHed = wsDBlx.Evaluate("=Match(""" & srchHed & """,[DBSept2016.xlsx]Tabelle1!$K$1:$BOW$1,0)")
             'Let MtchHed = Application.Evaluate("=Match(""" & srchHed & """,[DBSept2016.xlsx]Tabelle1!$K$1:$BOW$1,0)")
             'Let MtchHed = Application.Match(srchHed, rnglongSrcRow1, 0) 'Indicie "along"  of srchHed  ,  in   rnglongSrcRow1,  exact match stipulated ( 0 )
    I tested the modified , ( Sub USDAToDBArraysThirdWB18RngObjectsEval() ) , code just on one system used in the previous measurements in this Thread (Acer Aspire 4810TZG 32Bit 4 GB RAM, XL 2007 32Bit )
    _ Application Evaluate code bombed out at about 172 rows after about 38 seconds
    _ Worksheets Evaluate code bombed out at about 355 rows after about 42 seconds.

    The code which I modified for the measurements, ( Sub USDAToDBArraysThirdWB18RngObjects() ) , is bombing out today on my computer at about [size=3][b]350 rows after 36 seconds, which is similar to previous measurements.

    _....................

    So, Poo ! , that was no good either…

    _.. I am quite frustrated at the little “quirks” in Worksheet Functions that I am finding. I did have some improvements in speed sometimes, over my preferred simple VBA Array manipulation codes, for things like Match for a long LookUp range with minimal data matches. But some of these little hidden quirks and bugs I am finding when you do something a bit more demanding in terms of size are making inclined to live with occasional slower performance but at least have a better idea and control of what is going on….
    Possibly it is just down to the routines behind the functions not being written quite as well as they should have been….
    Oh well…
    Never mind.
    Alan

    _......................
    I updated the File with macros in it to include the new code:
    “MacrosOnly.xlsm” https://app.box.com/s/w4lz07w54l8twtuj2qwc8jg277tpeph1

    Data file to be filled in with sorted data:
    “DBSept2016.xlsx” https://app.box.com/s/enugbnro26tfduoehme7cdjvgwpf2ct5

    Raw data file ( irrational rational database file ):
    “NutritionalValues2016.xlsx” https://app.box.com/s/6i52eis914evpabl52gh3fr9jz4bdlbx







    https://fastexcel.wordpress.com/2011.../#comment-4175
    Last edited by Doc.AElstein; 06-08-2017 at 07:09 AM.
    '_- Google first, like this _ site:ExcelForum.com Gamut
    Use Code Tags: Highlight code; click on the # icon above,
    Post screenshots COPYABLE to a Spredsheet; NOT IMAGES PLEASE
    http://www.excelforum.com/the-water-...ml#post4109080
    https://app.box.com/s/gjpa8mk8ko4vkwcke3ig2w8z2wkfvrtv
    http://excelmatters.com/excel-forums/ ( Scrolll down to bottom )

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Code For A Custom Sort Using A List On Another Sheet
    By rockyw in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-06-2016, 08:51 PM
  2. [SOLVED] VB Code to sort the list
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-18-2016, 08:34 PM
  3. Help rewriting code to use less memory
    By Karl Gustaf Karsten in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-23-2016, 12:56 PM
  4. just a smidgeon of correction to VBA sort list code please
    By yogup in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-05-2016, 01:48 PM
  5. VB Code to sort the list in ascending order
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-22-2015, 12:08 PM
  6. Add Custom Sort List to VBA code
    By Zyphon in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-12-2009, 09:44 AM
  7. How much memory does VBA code occupy?
    By Ozgur Pars in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-12-2006, 02:09 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1