Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 109
Default Pivot Cache Memory

I'm running the following code to attempt to determine the mommeory usasge
used by a Pivot Cache connected to an external file.

Sub PVcashMem()
Mused = Round(Application.MemoryUsed / 1000000)
MsgBox ("Memory Used= " & Mused & " MBs")
For Each PC In ActiveWorkbook.PivotCaches
Mused2 = Round(PC.MemoryUsed / 1000000, 1)
MsgBox ("PC Memeory Used=" & Mused2 & " MBs")
Next PC
End Sub

The application is using 22MBs. However one pivot cache is using 12.6 MBs
and the other pivot cache is using 13.3 MBs for a total of 25.9MBs. This
seems to be a contradiction. Can anyone give me a quick lesson in pivot cache
memory management?
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
How to Clear a Pivot Table Cache DoctorG Excel Discussion (Misc queries) 1 February 16th 10 03:04 PM
Excel Pivot Table cache bonxie Excel Discussion (Misc queries) 2 June 8th 07 05:45 PM
Excel 2007: Pivot sharing same cache? Andrea Excel Discussion (Misc queries) 1 April 10th 07 05:16 AM
Pivot Cache - Massive Spreadsheet Wyvern Excel Discussion (Misc queries) 3 March 3rd 06 12:38 AM
Pivot cache Kreed Excel Discussion (Misc queries) 0 November 14th 05 09:17 PM


All times are GMT +1. The time now is 05:38 AM.

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

About Us

"It's about Microsoft Excel"