Dimension Security causing SSAS cube to slow down

Hi,
Experiencing problems with with the SSAS cube once its processed. Sometimes takes around 20 mins for the excel to load once you drag down any dimension.The cube has got no calc scripts/named sets etc.It has around 17 dimensions and one dimension(Employer)
has got 46 attributes and another (member)17.Others are pretty small.The Employer dimension is used twice as role playing and the both employer/member have got dimension security applied to it.There are about 6 roles have been set up to restrict access to
members in these dimensions.
The SQL profiler shows multiple "Query Dimension" (mostly for Employer dimension)followed by a lot of "Calculate Non Empty Current"s  .Suspect that the delay is due to the dimension security expression evaluation.This only happens
during first access of the cube within a role and it's relatively quick when I'm accessing via a role which doesn't have dimension security applied to it.Is there anyway to automatically trigger this process right after the cube has been processed so that
it doesn't cause agony to the first user?

You could build a cache warmer that connects with EffectiveUserName=YourDomain\user1 on the connection string and loop through each user. But what is your dimension security expression? Maybe we can speed it up.
http://artisconsulting.com/Blogs/GregGalloway

Similar Messages

  • I am having issues related to storage and I believe this is causing my computer to slow down. "Other" files part is the major occupier(180 GB). I have done Omni disk and multiple other cleaning(iTunes-device, restart, etc), yet have not been able to empty

    I am having issues related to storage and I believe this is causing my computer to slow down. "Other" files part is the major occupier(180 GB). I have done Omni disk and multiple other cleaning(iTunes-device, restart, etc), yet have not been able to empty any more space, nor to speed up my computer? Any suggestions? All your contributions are welcomed. Thanks. Mehmet Mazhar Celikoyar

    Below is the result:
    Hardware Information:
              MacBook Pro (15-inch, Mid 2009)
              MacBook Pro - model: MacBookPro5,3
              1 3.06 GHz Intel Core 2 Duo CPU: 2 cores
              4 GB RAM
    Video Information:
              NVIDIA GeForce 9400M - VRAM: 256 MB
              NVIDIA GeForce 9600M GT - VRAM: 512 MB
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0
              AirPlay: Version: 1.9
              AppleAVBAudio: Version: 2.0.0
              iSightAudio: Version: 7.7.3
    Startup Items:
              HP IO - Path: /Library/StartupItems/HP IO
    System Software:
              OS X 10.9 (13A603) - Uptime: 3 days 22:8:6
    Disk Information:
              ST9500420ASG disk0 : (500.11 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) /: 499.25 GB (220.49 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              HL-DT-ST DVDRW  GS23N 
    USB Information:
              Apple Inc. Built-in iSight
              Apple Internal Memory Card Reader
              Apple Inc. Apple Internal Keyboard / Trackpad
              Apple Computer, Inc. IR Receiver
              Apple Inc. BRCM2046 Hub
                        Apple Inc. Bluetooth USB Host Controller
    FireWire Information:
    Thunderbolt Information:
    Kernel Extensions:
              com.rim.driver.BlackBerryUSBDriverInt          (0.0.64)
              com.livedrive.filesystems.livedrivefs          (2.1.14)
    Problem System Launch Daemons:
    Problem System Launch Agents:
    Launch Daemons:
              [loaded] com.adobe.fpsaud.plist
              [loaded] com.adobe.versioncueCS4.plist
              [loaded] com.creativebe.MainMenuHelper.plist
              [loaded] com.macpaw.CleanMyMac2.Agent.plist
              [loaded] com.magican.castle.plist
              [loaded] com.microsoft.office.licensing.helper.plist
              [loaded] com.rim.BBDaemon.plist
              [failed] com.zeobit.MacKeeper.plugin.AntiTheft.daemon.plist
    Launch Agents:
              [loaded] com.adobe.CS4ServiceManager.plist
              [loaded] com.hp.messagecenter.launcher.plist
              [loaded] com.hp.productresearch.plist
              [loaded] com.rim.BBLaunchAgent.plist
    User Launch Agents:
              [loaded] com.adobe.ARM.[...].plist
              [failed] com.macpaw.CleanMyMac2Helper.diskSpaceWatcher.plist
              [failed] com.macpaw.CleanMyMac2Helper.scheduledScan.plist
              [failed] com.macpaw.CleanMyMac2Helper.trashWatcher.plist
              [failed] com.UninstallerTool.plist
              [failed] com.VolumeWatcherTool.plist
              [failed] com.zeobit.MacKeeper.Helper.plist
    User Login Items:
              BlackBerry Device Manager
              HP Scheduler
    3rd Party Preference Panes:
              Adobe Version Cue CS4
              DC30 Xact Driver Panel
              Flash Player
              Flip4Mac WMV
              Perian
    Internet Plug-ins:
              AdobePDFViewer.plugin
              AdobePDFViewerNPAPI.plugin
              Default Browser.plugin
              Flash Player.plugin
              FlashPlayer-10.6.plugin
              Flip4Mac WMV Plugin.plugin
              iPhotoPhotocast.plugin
              JavaAppletPlugin.plugin
              OfficeLiveBrowserPlugin.plugin
              QuickTime Plugin.plugin
              SharePointBrowserPlugin.plugin
              Silverlight.plugin
    User Internet Plug-ins:
              OctoshapeWeb.plugin
    Bad Fonts:
              None
    Time Machine:
              Mobile backups: OFF
              Auto backup: NO
              Volumes being backed up:
                        Macintosh HD: Disk size: 499.25 GB Disk used: 278.75 GB
              Destinations:
                        TOSHIBA EXT [Local] (Last used)
                        Total size: 2 TB
                        Total number of backups: 5
                        Oldest backup: 2013-10-24 23:21:31 +0000
                        Last backup: 2013-10-25 02:59:08 +0000
                        Size of backup disk: Excellent
                                  Backup size 2 TB > (Disk size 499.25 GB X 3)
    Top Processes by CPU:
                   3%          WindowServer
                   1%          EtreCheck
                   1%          Microsoft PowerPoint
                   0%          BBLaunchAgent
                   0%          fontd
                   0%          aosnotifyd
    Top Processes by Memory:
              168 MB             Microsoft PowerPoint
              123 MB             Safari
              86 MB              Mail
              74 MB              WindowServer
              45 MB              com.apple.WebKit.Networking
              45 MB              com.apple.WebKit.WebContent
              41 MB              Finder
              41 MB              PluginProcess
              41 MB              mds_stores
              33 MB              Notes
    Virtual Memory Statistics:
              72 MB              Free RAM
              1.27 GB            Active RAM
              1.24 GB            Inactive RAM
              667 MB             Wired RAM
              2.58 GB            Page-ins
              111 MB             Page-outs

  • After upgrading from Snow Leopard to Mountain Lion, the text preference, Middle Eastern, causes Photoshop CS6 to slow down.  Can this be fixed?

    After upgrading from Snow Leopard to Mountain Lion, and setting the text preference, Middle Eastern, causes Photoshop CS6 to slow down.  Can this be fixed?

    I'm Win, not Mac, but I do have a couple saved messages
    Mac 10.8.3 Bug w/Encore and BluRay http://forums.adobe.com/thread/1198709
    -create folder not ISO http://forums.adobe.com/thread/1216127

  • Hello, I'm pretty sure my fan on my 2009 mac book pro has stopped running. Would this cause the computer to slow down and take for ever to boot up and show the color wheel every time I select an application ?

    Hello, I'm pretty sure my fan on my 2009 mac book pro has stopped running. Would this cause the computer to slow down and take for ever to boot up and show the color wheel every time I select an application ? how involved to replace fan ? cost ?
    thanks

    Not directly, but if the CPU overheats because of incompatible software, that would cause slowdowns. Do not allow the computer to run if the fan is not working unless you wish to fry your motherboard. Please make a Genius Appointment and take it in for service.

  • Dimension security in SSAS

    Hello,
    We are trying to report on assets from a DAM platform in SSAS, for which the taxonomy is pretty embedded, reason why in a parent-child relationship I'm having trouble to drill down to the appropriate level since there are like 17 levels. We are trying to
    restrict access to only 2 members within our Clients classification. I was able to figure it out in VS and to filter in the dimension security (Roles) to restrict access to the particular clients, but it won't drill down to its children and grandchildren.
    I was wondering if there is any MDX which might be able to surface the children and grandchildren. Since the taxonomy is based on GUIDS is really hard to identify which asset stops at which level. Just to make it more descriptive a record can be part of one
    or more classifications but it always belongs to a root classification, within a record there are files that can be part of one or more classifications, as well as a file can have several file versions.  I'm trying to see if there is an MDX code
    which will allow me to uncover the children and grandchildren of the two members in the Clients classification and restrict access only to those two. Also would there be another way in doing this?
    I would appreciate any suggestions.
    Thanks,
    Andrea

    Hi Andrea,
    According to your description, you need to restrict access for two members on the hierarchy, however uncover the access permission for the children and grandchildren of the two members, right?
    Analysis Services provides a role-based authorization model that grants access to operations, objects, and data. In your scenario, you can unckeck the members on the Dimension Data when creating a role, and keep all the children and grandchildren of the
    two members selected.
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • SSRS Expression Current month in a Fiscal calendar dimension from a SSAS cube

    How to create an expression for a default SSRS parameter to a SSAS cube when using i Fiscal Year calendar - and where I want to show current Calendar month and year (for example February 2014) 
    This is an example of my Time dimension for February 2014:
    [Time].[FiscalYMD].[Fiscal_Year].&[2013].&[10]
    The fiscal calendar goes from May - May - which means that April 2014
    would look like this:
    [Time].[FiscalYMD].[Fiscal_Year].&[2013].&[12]
    and May 2014 would look like this:
    [Time].[FiscalYMD].[Fiscal_Year].&[2014].&[01]
    Please advise

    Hi HCMJ,
    To represent the fiscal calendar, you shift the current date by 4 months back. Then you can do:
    ="[Time].[FiscalYMD].[Fiscal_Year].&[" & Year( DateAdd( "m", -4, Today() ) ) & "].&[" & Month( DateAdd( "m", -4, Today() ) ) & "]"
    It just gets the year and month of '4 months ago'. I have not tested it, but I guess it should work.
    Regards
    Andrew Borg Cardona

  • Wetransfer js error causes my computer to slow down

    Every time I send a file via WeTransfer I end up with a js error and then my MacBook Pro slows down to a grinding halt...literally. You can hear the hard drive grinding away. Every time I try to move the mouse or select a file or drop down I get the beachball which will hang for about 10-15 seconds before anything happens. I end up having to shut down all my programs and restarting to get the laptop back to normal. This only happens with WeTransfer. Any ideas what I can do to resolve the issue other than not using WeTransfer?

    First my computer turns off and goes black, then this window shows up...
    After that this shows up after typing in my password on the log in page...
    If I leave the HD plugged in after clicking either response the computer will just shut down again.
    If I unplug the HD this window shows up explaining the problem...

  • SSAS Cube Browsing Slow

    Hi All,
    I have noticed that sometimes the cube browsing is slower than usual. Could it be due to the server on which the SSAS is installed being slow at those times?
    Thanks,
    Sumit

    Hi Sumit,
    In your scenario, the cube browsing is slower than usual at some times. This issue can be cause by that there are large tasks on the server which the SSAS is installed at that time. There is not sufficient RAM or CPU resource to process the
    query, so it is slower than usual. You can use Windows Performance Monitor to examine how programs you run affect your computer's performance. And use SQL Server Profiler to capture and save data about each event to a file or table to analyze later.
    Reference:
    Windows Performance Monitor
    SQL Server Profiler
    Regards,
    Charlie Liao
    TechNet Community Support

  • ListCellRenderer causing extra looping and slow down, please help

    Guys
    Please could you kindly help me with my long-lasting problem
    concerning ListCellRenderer.
    I sent it originally to Programming Essentials but no replies at all:
    http://forums.sun.com/thread.jspa?threadID=5388059&tstart=15
    Here is more detailed description of my problem that did not fit to my original posting (chech link above):
    For your convenience I made a special simplified version of my problem.
    Here are two fully compilable java-files that indicate my problem with simple GUI and System.out.print output. Please try to run my program, please.
    I try use ListCellRenderer and ListSelectionListener with a simple interactive list that contains four names, either male or female names, like:
    Bill
    James
    Martin
    Peter
    With a simple button "Change gender" the names can be changes to female names, and then again male names, etc...
    If you select THE FIRST NAME in the list and press "Change gender" button, the System.print.out shows unnecessarily repeating loops.These accumulating extra loops slow seriously down performance with long lists.
    Example output (the first name selected, so accumulating extra loops!!):
    Entering method ChangeGender
    ChengeGender method (name, index): Bill, 0
    Cell renderer (name, index): Bill, 0
    ChengeGender method (name, index): James, 1
    Cell renderer (name, index): Bill, 0
    Cell renderer (name, index): James, 1
    ChengeGender method (name, index): Martin, 2
    Cell renderer (name, index): Bill, 0
    Cell renderer (name, index): James, 1
    Cell renderer (name, index): Martin, 2
    ChengeGender method (name, index): Peter, 3
    Cell renderer (name, index): Bill, 0
    Cell renderer (name, index): James, 1
    Cell renderer (name, index): Martin, 2
    Cell renderer (name, index): Peter, 3
    Quitting method ChangeGender
    However, if you select OTHER NAMES THAN THE FIRST ONE (or no names at all) and press "Change gender", then no extra loops occur in System.out.print. Why?
    Example output (the second name selected, so no extra loops):
    Entering method ChangeGender
    ChengeGender method (name, index): Bill, 0
    ChengeGender method (name, index): James, 1
    ChengeGender method (name, index): Martin, 2
    ChengeGender method (name, index): Peter, 3
    Cell renderer (name, index): Bill, 0
    Cell renderer (name, index): James, 1
    Cell renderer (name, index): Martin, 2
    Cell renderer (name, index): Peter, 3
    Quitting method ChangeGender
    I will have list containing hundreds of names and therefore extra loops slow severely my application.
    Please explain how to avoid extra loops, also when the first name is selected.
    And please - if just possible - show me exactly which rows of my program must be rewritten and how.
    Thank you very much!

    Change
    for (int counter = 0 ; counter < names.length; counter++) {
        defaultListModel.addElement(names[counter]);
    }to
    ListDataListener[] listeners = defaultListModel.getListDataListeners();
    for(ListDataListener listener : listeners) {
        defaultListModel.removeListDataListener(listener);
    for (int counter = 0; counter < names.length; counter++) {
        defaultListModel.addElement(names[counter]);
    ListDataEvent evt = new ListDataEvent(defaultListModel,
            ListDataEvent.INTERVAL_ADDED,0,names.length-1);
    for(ListDataListener listener : listeners) {
        defaultListModel.addListDataListener(listener);
        listener.intervalAdded(evt);
    }

  • Win 7 wifi causes my WRT54G to slow down 20x till reset

    My wrt54g (firmware old - v1.00.6) has run fine for years until my daughter got a laptop with win7. All my other systems still run XP or win2k. I only run wireless with her win7 and one netbook with xp, all the other connections are wired.
    Going to speedtest.net and after I reset (pull power) the router, I get 20Mbps download. After the win7 wifi runs for a bit, download speed drops to 2 Mbps or less. It seems to be after she goes to you tube and starts watching videos. If I reset again, it immediately goes back to the full speed of 20. I measure this after she's taken her laptop off the network. So, whatever her win7 is doing, it stays that way after she disconnects (i.e. slow on my other systems) until the reset. I also measured the speed on her win7 system and it also would slow there as well and speed up after a reset (for a while).
    Any ideas here? Would a newer firmware fix this? I read somewhere that some settings in win7 can fix this, but couldn't find out what they were.

    It would greatly help that the router’s needs a firmware upgrade and a reset since you are experiencing intermittent connection. By the way, were you experiencing this problem on both wireless computers or only on the win 7 laptop? If the problem is only with the win 7 laptop, then you might need to update the drivers of the win 7 laptop wireless adapter. If in case that the problem is with both computers then you need to optimize the wireless performance of the router. You can use this tool: : http://www.metageek.net/products/inssider/ to select the best channel that you can use on your router and then check if the router’s wireless performance will improve.

  • I am running xp and the last time I tried to upgrade to Firefox 5 it caused my computer to slow down become unstable and eventually my hard drive crashed.

    However I do believe the hard drive had other issues that just might have been further compromised by downloading 5. Talked to a couple of others who have also had bad problems after downloading 5 and that is what really concerns me is that my problem is not isolated. I have just got my computer back up and running and am very concerned about continuing with the 5 upgrade that was automatically downloaded and will be installed the next time I start up. How do I prevent the download from installing upon start up next time until I can get some clearer info on why 5 is causing some problems and can avoid them?

    My mother just had this problem. After uninstalling a bunch of search malware, i was still seeing the bing tab come up on start up. The way I fixed this is to delete any shortcuts, remove it from the task bar and the start menu list. It appears this crappy malware modified the firefox and chrome(if installed) shortcuts to open bing.
    Of course another way is to modify the shortcuts to remove the link that they added. It was easier for me to remove and just re-pin.
    Hopefully that solves your problem too.

  • Where clause causing a query to slow down in a cursor

    I have a table "the_table" with about 10,000 rows and four columns (id, description, inventory, and category).
    This query returns all rows immediately:
        select id
             , description
             , inventory
        from the_table
        where category =  nvl(null, category);
    However, when it is put into a cursor, like this:
    (p_user_category is a user-defined variable which can be null if the user wants all of the rows)
        c_results  sys_refcursor;
        open c_results for
            select id
                 , description
                 , inventory
            from the_table
            where category =  nvl(p_user_category, category);
        fetch c_results into v_id, v_description, v_inventory;
        close c_results;
    then it takes five minutes to return even just one row when p_user_category is null.
    However, if I change the where clause to:
        where (p_user_category is null or category = p_user_category)
    then it returns all rows immediately.
    It started being a problem right around the time of the most recent update - I am running 11.2.0.2.0 (64-bit production).

    The optimizer is smart enough to recognise that null is null, so "nvl(null,category)" collapses to "category", and your predicate "category = nvl(null, category)" is transformed to "category is not null" (if it's allowed to be null) or simply disappears - so the SQL test is not the same as the PL/SQL run.
    In PL/SQL your manual rewrite is not logicall the same as the original unless you have declared category to be non-null because your first disjunct will allow rows with a null category to be reported, while the original query would lose them.
    Check the execution plans for the SQL and the PL/SQL versions.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    Now on Twitter: @jloracle

  • RMI server causes the system to slow down and crash with socketException

    Hi,
    My RMI server application is a simple rmi server which invokes a JNI method once when I invoke through my client application. Server is left as it is after invoking the JNI method. After around 12 hours, server stops running with the following exception
    ZoneInfo: C:\Program Files\Java\jre1.6.0\lib\zi\ZoneInfoMappi
    ngs (Insufficient system resources exist to complete the requested service)
    ZoneInfo: C:\Program Files\Java\jre1.6.0\lib\zi\ZoneInfoMappings (Insufficient s
    ystem resources exist to complete the requested service)
    Dec 29, 2008 10:09:34 AM sun.rmi.transport.tcp.TCPTransport$AcceptLoop executeAc
    ceptLoop
    WARNING: RMI TCP Accept-0: accept loop for ServerSocket[addr=0.0.0.0/0.0.0.0,por
    t=0,localport=2161] throws
    java.net.SocketException: socket closed
    at java.net.PlainSocketImpl.socketAccept(Native Method)
    at java.net.PlainSocketImpl.accept(Unknown Source)
    at java.net.ServerSocket.implAccept(Unknown Source)
    at java.net.ServerSocket.accept(Unknown Source)
    at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(Unkno
    wn Source)
    at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Dec 29, 2008 10:10:35 AM sun.rmi.transport.tcp.TCPTransport$AcceptLoop executeAc
    ceptLoop
    WARNING: RMI TCP Accept-0: accept loop for ServerSocket[addr=0.0.0.0/0.0.0.0,por
    t=0,localport=2161] throws
    java.net.SocketException: socket closed
    at java.net.PlainSocketImpl.socketAccept(Native Method)
    at java.net.PlainSocketImpl.accept(Unknown Source)
    at java.net.ServerSocket.implAccept(Unknown Source)
    at java.net.ServerSocket.accept(Unknown Source)
    at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(Unkno
    wn Source)
    at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Dec 29, 2008 10:12:36 AM sun.rmi.transport.tcp.TCPTransport$AcceptLoop executeAc
    ceptLoop
    WARNING: RMI TCP Accept-0: accept loop for ServerSocket[addr=0.0.0.0/0.0.0.0,por
    t=0,localport=2161] throws
    java.net.SocketException: socket closed
    at java.net.PlainSocketImpl.socketAccept(Native Method)
    at java.net.PlainSocketImpl.accept(Unknown Source)
    at java.net.ServerSocket.implAccept(Unknown Source)
    at java.net.ServerSocket.accept(Unknown Source)
    at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(Unkno
    wn Source)
    at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Dec 29, 2008 10:15:37 AM sun.rmi.transport.tcp.TCPTransport$AcceptLoop executeAc
    ceptLoop
    WARNING: RMI TCP Accept-0: accept loop for ServerSocket[addr=0.0.0.0/0.0.0.0,por
    t=0,localport=2161] throws
    java.net.SocketException: socket closed
    at java.net.PlainSocketImpl.socketAccept(Native Method)
    at java.net.PlainSocketImpl.accept(Unknown Source)
    at java.net.ServerSocket.implAccept(Unknown Source)
    at java.net.ServerSocket.accept(Unknown Source)
    at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(Unkno
    wn Source)
    at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Dec 29, 2008 10:20:40 AM sun.rmi.transport.tcp.TCPTransport$AcceptLoop executeAc
    ceptLoop
    WARNING: RMI TCP Accept-0: accept loop for ServerSocket[addr=0.0.0.0/0.0.0.0,por
    t=0,localport=2161] throws
    java.net.SocketException: socket closed
    at java.net.PlainSocketImpl.socketAccept(Native Method)
    at java.net.PlainSocketImpl.accept(Unknown Source)
    at java.net.ServerSocket.implAccept(Unknown Source)
    at java.net.ServerSocket.accept(Unknown Source)
    at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(Unkno
    wn Source)
    at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    # An unexpected error has been detected by Java Runtime Environment:
    # Internal Error (4D555445583F57494E13120E4350500075), pid=1352, tid=1828
    # Java VM: Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode, sharing)
    # Can not save log file, dump to screen..
    # An unexpected error has been detected by Java Runtime Environment:
    # Internal Error (4D555445583F57494E13120E4350500075), pid=1352, tid=1828
    # Java VM: Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode, sharing)
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    Does anyone has any idea?
    Regards
    Nidhin

    Your RMI server invokes a JNI method as you mentioned. It seems your system resource is become very low as from the exception from "ZoneInfoMappi"
    (Insufficient system resources exist to complete the requested service...I would suggest the following
    1- remove the JNI method invocation and replace by a simple method which does nothing special ( counting etc..)
    2- Run the RMI sever and stress test it again
    If you see the RMI server is working well after 12 hours, then your native method is leaking i.e consuming the system resources ( RAM etc..)
    You should profile the running RMI server using jconsole
    Regards,
    Alan Mehio

  • Help! Flashvars causing browser slow down

    Hi All,
    I have a very simple .swf file that is causing some kind of
    slow down or memory leak. It is effecting the browser its self as
    moving the mouse cursor around or selecting text becomes sluggish.
    Within the .swf, the stage is only 1px by 1px. It is meant to
    fit the size of the html element its embedded in. Once the .swf
    loads it adjusts its stage to the new dimensions. It then draws a
    rectangle movie clip to fit the new size.
    Once the rectangle is drawn the .swf then draws 50 circles of
    varying size to animate as a snow effect. I wasn't having any slow
    down until I added this snow effect in. However let me explain in
    the next paragraph that the snow is not the real culprit.
    The rectangles fill, stroke, and corner radius. Can all be
    set by variables sent to the swf. by the Flashvars attribute of
    object, and embed. Once they are retrieved by the .swf they are
    processed by a conditional statement I wrote. If one of the
    attributes isn't set they are set to a default. The code is
    attached below.
    Heres how I know the snow effect isn't the culprit. If I
    don't pass the .swf any Flashvars attribute and just let it use the
    defaults for styleObj in the .swf. The effect runs fine. If I do
    try to pass it Flashvars the slow down occurs. Is there an issue
    with my conditional statements?
    I have tried embedding using the SwfObject.js Class and using
    standard HTML tags. Both display the same issue if Flashvars are
    passed there's a slowdown if not its fine.
    If anyone could help with this, or shoot me some links with
    info I would be eternally grateful. I can also provide the source
    files if you want to take a look at it.
    I have uploaded a test page so you can see the problem in
    http://www.callmekev.com/client/test/

    Hey kglad,
    Thanks for all your help. I had the issue posted on 2 other
    forums and you are the only response I have got. I was unaware of
    the data-type functions you had listed. After some further testing
    I found that they had the same effect as using the - operator like
    I had been doing.
    I did find a solution however. I took the variables as they
    were coming in from the Flashvars attribute and saved them in new
    flash only variables as numbers. Then I assigned the Flashvars
    variables a value of null. I think the .swf was continully going
    back to the html variables causing the slow down and this gave it
    its on set to look at.
    You can check the new
    test its a lot smoother.

  • Insert SSAS Cube records measure and dimensions to relational table

    Hi,
    I need to retrieve one measure with a couple of its related dimensions from an ssas cube and have it stored in SQL table. How could this be done?
    In order to read data from cube and insert into SQL relational table
    this thread says to use openquery but states that it will only work if there are measures on the columns
    and no dimensions on columns.
    Is there a way to query a measure with a couple of its related dimensions
    in MDX using openquery? Or any other way to query the cube to get these into SQL?
    (Or should I better get the data from the base SQL tables which the cube is built from?)
    Thanks for advising
    Namnami

    Hi Namnami,
    Sure Darren Gosbell thread will help you, you can try below things.
    You can get more info on
    this link
    Basically to write SQL+MDX combined we have to create link server from where we want data to combine with SQL. To create link server you need to have Admin access to the SQL Server.
    IF IS_SRVROLEMEMBER ('sysadmin') = 1
    print 'Current user''s login is a member of the sysadmin role'
    ELSE IF IS_SRVROLEMEMBER ('sysadmin') = 0
    print 'Current user''s login is NOT a member of the sysadmin role'
    ELSE IF IS_SRVROLEMEMBER ('sysadmin') IS NULL
    print 'ERROR: The server role specified is not valid.'
    Above Query returns the whether you have admin admittance to the server or not to create Link Server.
    More Details on Hybrid Query-
    USE
    AdventureWorksDW2008R2
    GO
    EXEC
    sp_addlinkedserver
    @server='Test',
    @srvproduct='',
    @provider='MSOLAP',
    @datasrc='localhost',
    @catalog='Adventure Works DW 2008R2'
    Declare @MDXExpression as Varchar(MAX)
    Select @MDXExpression =
    SELECT
    NON EMPTY
    [Measures].[Sales Amount]
    ,[Measures].[Standard Product Cost]
    ,[Measures].[Tax Amount]
    ,[Measures].[Total Product Cost]
    } ON 0,
    NON EMPTY
    [Sales Channel].[Sales Channel].[Sales Channel]
    } ON 1
    FROM
    [Adventure Works]
    Exec ('SELECT * INTO ##TestTemp FROM OpenQuery(TestTest1,''' + @MDXExpression + ''')')
    SELECT
    CONVERT(varchar,t."[Sales Channel].[Sales Channel].[Sales Channel].[MEMBER_CAPTION]") AS [Date],
    (CONVERT(nvarchar,t."[Measures].[Sales Amount]")) AS [Sales Amount],
    (CONVERT(nvarchar,t."[Measures].[Standard Product Cost]")) AS [Standard Product Cost],
    (CONVERT(nvarchar,t."[Measures].[Tax Amount]")) AS [Tax Amount],
    (CONVERT(nvarchar,t."[Measures].[Total Product Cost]")) AS [Total Product Cost]
    from
    ##TestTemp t
    --DRop Table ##TestTemp
    Query Execution-
    1-     
    So above query first creates liked server with named as 'Test'.
    2-     
    After that MDX query executed on linked server where we have kept the MDX query in MDXExpression variable.
    3-     
    Using OpenQuery function data gets dump in to ##TestTemp table.
    4-     
    Finally we get the data from ##TestTemp table.
    Thanks,
    Mark as Answer if this resolves your problem or "Vote as Helpful" if you find it helpful.
    My Blog
    Follow @SuhasKudekar

Maybe you are looking for

  • Can some GENIUS Please Explain this to Me!

    So I repair my permissions and whatnot regularly. One morning I woke up , run Disk Utility and bam! "*Invalid volume file count*" (should be 456416, instead of 456417) The volume Untitled needs to be repaired, bla bla... Whatever. I boot from disk bu

  • SQ ABAP QUERY

    Dear SAP Guru's , PLease tell me whether it is possible to add or subtract the values in the querry based report . Suppose in SQ2 ,Sq01 I am having all debit credit items is it possible to Add/Subtract the total. So that My total is Debit +/- Credit.

  • Assistance discovering EOL devices

    Short of researching each model (we have over 100 unique models and over 5000 devices) what's best way to find EOL devices/software in my environment? Is there a master EOL list available?

  • Can i import unix executable files into iMovie?

    I have old videos that were put on dvds using go-video. They are unix executable files, I don't know how to import them into imovie. Am I missing something?

  • 4G for Mac not working per other thread instructions

    Hi, Just got a 4G Pantec UMP290. I am trying to connect in an area that has 3G confirmed, but does NOT have 4g service. a) I successfully activated and used the modem on a windows machine (not via parallels) using the VZW Access Manager. I got 2 bars