Questions on in-memory with disk based overflow cache.

Hi, support
I want to create a cache which have two tiers, one is size limited local cache and the other uses a disk as a storage. As you said if the local cache is full, the other data will be moved to external cache (on disk). Does it mean the other data will be saved in a temp file? If so, could you let me know where is temp file? The config file is attached.
Btw, although I used on disk cache as a external cache, I got Exception in thread "main" java.lang.OutOfMemoryError: Java heap space also when I put lots of data into the cache.
Thanks a lot.
<?xml version="1.0"?>
<!DOCTYPE cache-config SYSTEM "cache-config.dtd">
<cache-config>
     <caching-scheme-mapping>
                    <!-- this local cache is used for buffer in rdsprocessor -->
          <cache-mapping>
               <cache-name>bufferStorage</cache-name>
               <scheme-name>SampleOverflowScheme</scheme-name>
          </cache-mapping>
     </caching-scheme-mapping>
     <caching-schemes>
          <overflow-scheme>
               <scheme-name>           
                    SampleOverflowScheme
               </scheme-name>
               <front-scheme>
                    <local-scheme>
                         <high-units>100</high-units>
                    </local-scheme>
               </front-scheme>
               <back-scheme>
                    <external-scheme>
                         <lh-file-manager/>
                         <!--
                         <high-units>10</high-units>
                         -->
                    </external-scheme>
               </back-scheme>
          </overflow-scheme>           
     </caching-schemes>
</cache-config>
Message was edited by:
user620684

Hi, Jon
Thanks for your help.
I will use an unconfigured LH file manager(I mean the file path and name will not be specified.).
Currently, find the temp file will be created in C:\Documents and Settings\$user_name\Local Settings\Temp in windows.
I have two questions on temp file.
1) Does tangosol supply a mechanism to maintain the temp files?
2) In solaris, which place will the temp file be created in?
Thanks,
Bin
null

Similar Messages

  • Issues while migrating data from a disk based table to a memory optimized table

    Hi All,
    I have a Disk based table with 400000000 rows in it, We are trying to convert it into a memory optimized table.
    We have  already created a memory optimized table with similar structure and trying to import data into this mem optimized table using 'insert into' from the disk table.
    I am trying to Migrate around 10000000 rows at a time,  but I am getting an error 'There is insufficient system memory in resource pool 'default' to run this query.' Altough we have 128 GB RAM on the server and SS is utilizing more than 120 GB RAM.
    Altough the query has been cancelled.
    Wanted to Know how could we migrate the table with the available RAM or do we have increase our RAM?
    aa

    Josh,
    Microsoft's documentation on this subject isn't at its best right now (I believe there will be incremental improvements for better understanding), but here is what I read so far.
    http://msdn.microsoft.com/en-us/library/dn133190.aspx
    "A hash index consists of a collection of buckets organized in an array. A hash function maps
    index keys to corresponding buckets in the hash index."
    Judging by this statement, a hash index is a hash table just like the ones used as work tables for hash operators in queries (hash matching or grouping). Doesn't contain (or include) other columns, i. e. it doesnt store any data.
    "Multiple index keys may be mapped to the same hash bucket."
    This means there is some kind of mapping, but this is not explained in the article above. However...
    http://msdn.microsoft.com/en-us/library/dn282389.aspx
    "For each hash index in the table, each row has an 8-byte address pointer to the next row in the index. Since there are 4 indexes, each row will allocate 32 bytes for index pointers (an 8 byte pointer for each index)."
    Each row (in the table) has a pointer (for every index, 1:1 ratio) that points to a row (also known as bucket) in the hash index. So that is how the aforementioned mapping works huh!
    > What happens if you include a column in two or three different indexes, or is that not allowed?
    My conclusion is that the hash indexes works the same way as a hash worktable, with the addition of the column in the base table that is added to store pointers to the hash index.
    When you create a new index, even if you use the same column twice, a hash table is created, hash calculations are distinctly made for each key and stored on it, and while this is done, the column that is exclusively used for this new index is populated
    with pointers to this index. You can add a given column to the set of keys of different hash indexes as many times as you want. Correct if i'm wrong, I'm also new on this subject :D

  • Folder with question mark + wont boot from disk

    Hi
    I am trying to reinstall a powermac g5 from the disk, using a old hard drive that works.. (formatted in NTFS) (hoping that when selected to boot from disk, mac will then erase and reformat it)this image is presented when i hold down the option key and the disk ejects this other image is presented when i hold down C (folder with question mark blinking) and the disk ejects... also presented if i boot normally.... Could some help be offered please??????
    Powermac G5
    Thank you in advance

    Yes, you must Format it HFS+ first...
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    How to format your disks...
    http://www.kenstone.net/fcp_homepage/partitioning_tiger.html
    (To Install OSX on an IntelMac the Drive it needs the GUID Partitioning scheme mentioned at the bottom.)
    Thanks to Pondini, Formatting,  Partitioning, Verifying,  and  Repairing  Disks...
    http://web.me.com/pondini/AppleTips/DU.html

  • RAID with Disk Utility question

    I've setup a RAID array in disk utility for an external SATA NAS that I have. The Silicon Image Si3132 drivers are not working for Snow Leopard (the SATARAID 5 drivers) so I've installed the base non-raid drivers for 10.6.
    I'm using Disk Utility to setup the RAID for now until I get updated drivers from SI. Here's my question:
    Let's just say that my Mac Pro one day decides to die and I have to rebuild a new OS on the machine. I will then have this external drive where I've configured a software RAID with Mac OS X. Will I be able to rebuild this RAID and recover the data, or will I lose all of the data if the Mac needs to be rebuilt?
    The external enclosure has its own controller, but these silicon image drivers do not seem to want to work as they are kernel panicking.
    Will I be able to recover the RAID config with disk utility if I rebuild the machine? My thinking is NO

    You have four internal hard drives; ability to boot from FW or USB, and I would include TimeMachine and clone (Carbon Copy Cloner or SuperDuper). Some WHS NAS servers also support TimeMachine and SuperDuper, but I would have local backups. Two minimum.
    I would not rely on SI or RAID.
    And all you need to boot from, and I'd have at least two, is a basic 30GB partition for Mac OS: a working copy of your system as is, a copy of last version installed also, AND, one "emergency" boot partition for disk maintenance and repairs.
    Then use NAS as second line of backup for your data, disk images, etc.

  • Question on OAS Disaster Recovery with Disk Replication

    Dear all,
    We are reviewing OAS - DR approach with Disk Replication. From the docs I read that that we need to use external storage for this purpose.
    Besides that, do we need other 3rd party software/hardware to implement DR with Disk Replication ?
    Thank you very much,
    xtanto

    No double posting.
    Close the open thread before opening a new one with the same info.
    Read the "Rules of Enagagement"
    Regards
    Juan

  • Database msdb cannot be opened due to inaccessible files or insufficient memory or disk space - in recovery pending status

    came in this fine monday morning and it looks like developers were running some kind of trace that filled the primary DATA folder with about 80,000 5mb trace files.  now that process has stopped and the logfiles have been cleaned up, but when attempting to connect to the server using the management console i get the error:
    Database 'msdb' cannot be opened due to inaccessible files or insufficient memory or disk space.  See the SQL Server errorlog for details. (.Net SqlClient Data Provider)
    when i check the status it is in recovery pending mode.  i have a backup from yesterday but im not sure if this database became corrupt before that backup or not because this process was ongoing over the weekend.  the last timestamp on the msdb and log files is 7am this morning.. 
    I am not sure how to proceed recovering the msdb database with limiting interruption to the users.  any advice is extremely appreciated.  this is sql server 2008.  i can login via sqlcmd and see it is in recovery pending status:
    1> select state_desc databasestatus_sysdtabase from
    2> sys.databases where name ='msdb'
    3> go
    select state_desc databasestatus_sysdtabase from
    sys.databases where name ='msdb'
    databasestatus_sysdtabase
    RECOVERY_PENDING
    (1 rows affected)
    1>

    For someone experiencing a similar problem this answer is unacceptable. You're basically telling me to reboot the server to fix this.  You vaguely mention using process explorer to find out who is using the file.  Can you please provide
    some more information on that?  I have a similar problem and rebooting the server to fix it is not an option.  This problem keeps reoccurring.
    OS Error 32 means file has an open handle by someone else. If that is a user process then you can catch it via Process Explorer. If it's a kernel mode object then it's difficult to catch that and restart is the only choice.
    http://sqlserver-help.com/2014/08/07/tips-and-tricks-os-error-32the-process-cannot-access-the-file-because-it-is-being-used-by-another-process/
    Balmukund Lakhani
    Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    | Facebook
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

  • Why there is a huge difference between a row size on a disk based table and a row size in memoptimized table of SQL 2014?

    Hi All,
    I have two table with similar structure and data, one is on disk and the other is in memory. I somehow calculated the difference between a row size of on disk and in memory table and found that the row size of in memory is 700 Bytes more than the disk based
    tables.
    aa

    As others mentioned, memory optimized tables and disk based tables have different structures in SQL Server 2014.
    For memory optimized tables, the number of indexes on table also contribute to the size. You can calculate the exact size of rows and thus the table size using the formula given in the below articles
    Table and Row Size in Memory-Optimized Tables
    Estimate the Size of a Table
    Krishnakumar S

  • Questions on making Movies with new camcorder

    Hi all,
    First, let me say these forums are extremely useful. Thanks for taking a minute to read (and maybe respond). I have a couple of questions / need some advice about making iMovies with my new camcorder.
    My camcorder is a Sony DCR-SR40 - it's a 30GB hard-disk based digital camcorder. It creates MPEG-2 files (and connects to my G5 with USB2.0).
    1. When I get the camcorder connected and copy over the files, I can't play them in QuickTime 7 (I got an error opening the file). So I spent $20 and bought the QT MPEG-2 plugin - now I can play them but there's no audio. Am I doing something wrong or is there a bug with QT?
    2. So I downloaded Streamclip and can happily convert files to a bunch of different formats (what a neat app!). Is there a format that would be best to convert to for making iMovies (iM 6)? DV? MPEG-4? (see next question).
    3. When I create my iM6 project, should I create DV or MPEG-4? (Is there a good summary anywhere on all these formats? It confuses the heck outta me.) I want to turn my iMovies into DVDs to watch with my family and QT movies that I can leave as files and watch on my work laptop. What's the best format (DV or MPEG-4) to use?
    4. Assuming I create DV iMovie projects, my thought was to convert my MPEG-2 files (from the camcorder) and AVI files (from my digital cam that takes short movies) to DV using Streamclip, then import those into iMovie; all that seems like a bunch of work (I guess I could use the batch function) - but is this the right way of doing things? Or can I just let iMovie do the translation to DV when I import?
    Sorry for all the noob questions here, I just don't have a lot of time to tinker (15 month old and newborn) so I'd prefer to just get advice from the folks that know (you all!).
    Thanks so much
    Steve

    Hi Steve,
    as you allready realized: the iApps are made for miniDV/D8, … but you have found the workarounds...
    1) … you hear no audio when exporting/converting the mpegs with QT... that's no bug, that's due to the nature of mpeg2... the audio and video are "woven together" (tech term= muxxed)... QT supports this playback-format for ... ehm, playback, but "de-muxxing" is not supported by QT....
    2) best format for use in iM/iDVD? my standard reply: DV
    (I've read in the meantime, some report using the Apple Lossless Codec, you should find in the export options of SC, delivers better results - beauty lies in eye of... needs a powerful Mac and "eats" 4 -5x more diskspace then DV)....
    3) DV; mpeg4 is supported to handle iSight "video" and some digi-stills deliver in this format; again, mpegs are for delivery, not for processing.... I didn't found THE website for explaining all that, you can spend hours on wiki and many, many more sites... for the average user (as me), I wrote (still write...) a short summary, click here >> Codexx; an excellent source for background info is forum's member QuickTimeKirk's "book" (=.pdf delivery), you get for 10$ here >> QTpro explained
    4) … that IS a bunch of work, because you tought the old dog new tricks... with my miniDV and still-cam all that is done with a single click and works like charm ...
    this board is full of Qs concerning support of DVDcorders/HDcorders... One can just speculate, wether Apple will implement the support of these formats... I strongly guess NOT, … we saw in the past e.g. no support of (S)VCD, another popular format (to its time), but not fullfilling the high standards of SJ....
    no, you're not a noob - excellent prepared, precise discription of your problems... I wish, all posts are read like that....
    have fun with your kids! it's getting better every day!! (my son now is 6y, in two weeks he starts with school....adventure!!!)

  • MSword2003: error-"there is not enough memory or disk space to complete the operation"

    One of my files can't be opened because of the error"there is not enough memory or disk space to complete the operation"
    i have tried every thing....
    renaming the template from normal.dot to old.dot...
    disk cleanup
    deleting all the temp,%temp,internet files, cookies.
    but nothing working .....
    please help

    This forum is for questions and discussions about the TechNet Wiki. I will try to move your question to a more appropriate forum, dealing with Office technical issues.
    Richard Mueller - MVP Directory Services

  • Suffix Tree Disk Based

    I am doing a senior project with the topic of Genomic Code Searching. I've already done the java code for building suffix tree and also can be used for searching from the created tree with memory based version. Now I have a problem with the disk base version since my advisor want me to do suffix tree disk base version to handle a large size of human genome. He suggested me to read papers such as http://www.eecs.umich.edu/~jignesh/publ/stc.pdf and try to implement one of them. Anyone have an experience in doing this kind of program. I can understand the algorithm in some paper but anyway I can't implement it. Please give me the code or give me some suggestion about this. The advisor need me to compare the performance of disk based version with my program in memory based version. It would be grateful if anyone can give me the code.
    Thank you so much

    Sorry about this but i'm not asking others to do my project. I've already done the programming in memory based version but for the disk based one my advisor told me that you can download the code from internet and try to use it to compare the performance with my program. Since all papers about disk base suffix tree are the Phd thesis, I sincerely say that I don't have enough ability to implement as the published paper. I just need some code and compare the performance of that program with my own program to see the difference between memory base and disk base.
    Or anyone can give me some suggestion? Sorry for making some misunderstanding. I just need some help to make the experimental part about performance of my program is completed. Thanks again

  • I need to get back in touch with UK based technica...

    Background - a few weeks ago I received help on the forum in connection with my modem re-booting, usually in the early morning. I got in touch with Bt Customer support who helped by getting the noise level back down but I still suffered from re-booting, consequent increases in snr and lower speeds. I switched from the HH3 to a Billion bipac 7700n router. This was a vast improvement. No more re-booting but occasional re-syncs instead - at least the snr and DSL speed stayed roughly at the same level. I did however want to eliminate the 4-5 re-syncs per day - a nuisance if you are trying to use the PC or streaming music when the connection drops. Customer support advised me to test the router in the BT test socket. Alas, when I looked inside my BT master socket I found that I hadn't got a test socket. Bt Customer support splendidly arranged for a BT engineer to come the next day to fit a test socket. This was just before Xmas. 
    With Xmas over, guests having gone and continuing to suffer from re-syncing, I connected the router directly to the new BT test socket. In the space of 9 hours there were 4 re-syncs.
    I e-mailed Bt customer support an extract from the router's systems log to seek their help. Within minutes I had a call from an operator in BT India who put me through to their technical desk. Unfortunately the technical desk did not have my e-mail and did not seem very interested in the background to my issue. After an hour in the phone I spoke to a supervisor who explained that he could not take my problem further until I had tried a new HH3. 
    Well the HH3 turned up today. On connection my snr went up to 10db and the DSL speed down from 6656 kbps to 4344 kbps. Needless to say I have disconnected the HH3.
    I should add that the BT engineer who fitted the new master socket said that in his view I needed a Broadband boost engineer and that he would put this in his report. 
    Advice on how to get back in contact with Uk based support would be welcome.  I had been making good progress!
    Solved!
    Go to Solution.

    Hi I suggest you contact the forum mods they should be able to get your problem sorted for you this is a link to them
    http://bt.custhelp.com/app/contact_email/c/4951
    they normally reply by email or phone directly to you within 72 hours
    They are a UK based BT specialist team who have a good record at getting problems solved
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

  • Beginner's question:  Using Time Machine with a WD External Drive

    Hello folks,
    Could someone help me with some basic questions?
    I have a MacBook with Mac OSX 10.5.5. It has Time Machine but I've never used it before. I've just obtained a Western Digital External Hard Drive which is Mac compatible but, I'm told, may not be formatted for Mac.
    1. If that's the case, how do I format it for Mac so that I can use it with my MacBook? Or can I just plug-and-play?
    2. Once ready to use, I'd like to use the external drive for two purposes: (a) to create back-up images of my entire computer using Time Machine, and (b) as a second drive where I can just drag-and-drop selected files when needed (e.g. so that I can put photos in a photo folder on my external instead of on my MacBook hard drive). Will my MacBook let me do this, or will using Time Machine effectively reserve the entire external hard drive for Time Machine and not allow my to drag-and-drop files?
    Thanks! And Happy New Year!

    Question 1:
    1. Launch Disk Utility (in your Applications/Utility folder.
    2. Click the "erase" tab
    3. Select your entire WD disk on the sidebar (the uppermost icon).
    4. Format: "Mac OS Extended (Journaled)"
    5. Name the Disk
    6. Click on "erase"
    Question 2:
    What is the size of your drive? If it is large enough you can partition it but Time Machine backup will "grow". So if it's important to you to save all backups you'll want to give it the whole disk. If not, you can partition the disk at the same time you format it.
    Follow the steps here. It will accomplish both Q1 & Q2.
    -mj
    Message was edited by: macjack

  • Not enough memory or disk space in excel and word office 365

    I have windows 8.1 and am having huge issues with excel and word in office 365.
    When i download a document i am unable to open as message reads cannot open as not enough memory or disk space.
    I have plenty of disk space and memory however have searched this and the following has been answered BUT I CANNOT UNDERSTAND This and need HELP  with step by step instructions on how to do please;
    To resolve the issue, refer to the methods below:
    Go to this key on Registry Editor (Run | Regedit)HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User
    Shell Folders
    change key Cache to something like C:\Windows\Temp
    You might also right click on the file with file explorer, choose Properties, then General tab and click on the Unblock button.
    Some of our customers found it sometimes a permission problem.
    cmd  => dcomcnfg
    Click >Component services >Computes >My Computer>Dcom config> and select micro soft Excel Application>
    Right Click on microsoft Excel Application>Properties>Give Asp.net Permissions
    Select Identity table >Select interactive user >select ok
    However i do not understand a word of the above or how to do PLEASE HELP this is extremly frustrating as i am doing correspondence and I am unable to access any files.
    Thanks

    Hi,
    You must have read this thread:
    http://social.technet.microsoft.com/Forums/en-US/9773a7c4-29a8-48ff-9d16-e1ca4c478610/excel-2013-microsoft-excel-can-not-open-or-save-anymore-documents-because-there-is-not-enough?forum=officesetupdeploy
    To detail the steps, please do as I describe:
    Important
    This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the
    registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry,
    http://windows.microsoft.com/en-US/windows7/Back-up-the-registry
    To open the Registry Editor, please press Win + R, type regedit in the blank box, press
    Enter. / Or we can type regedit.exe in Windows 8.1 Search, you'll find it easily.
    Now the Registry Editor is open.
    Then we see the pane on left, expand the following path:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
    Then we can see a list on right, find Cache, right click on it, click
    Modify..., under Value data, change the value to something like
    C:\Windows\Temp, click OK.
    Exit Registry Editor.
    As for "You might also right click on the file with file explorer, choose Properties, then General tab and click on the Unblock button." Just find the file, right click on it, choose
    Properties, under General tab, if you see a
    Unblock button, click on it.
    "Some of our customers found it sometimes a permission problem.
    cmd  => dcomcnfg" Do the following:
    Press Win + R, type in cmd in the blank box, press
    Enter.
    In the new black-background window, type in dcomcnfg, press
    Enter.
    Then the Component Services window will pop up, on the left pane, expand
    Component services -> Computes ->
    My Computer -> Dcom config -> and select
    Microsoft Excel Application, right click on it -> Properties ->
    Identity tab -> Select The interactive user ->
    OK.
    I hope I've explained the steps clearly.
    Good luck.
    Regards,
    Melon Chen
    TechNet Community Support

  • I can sync icloud calender with pc based outlook calender.  But contacts do not sync.  Could anyone help me with this?

    I can sync icloud calender with pc based outlook calender.  Photos also sync.  But can not sync contacts.  Already checked contact boxes in icloud and and on my PC.  Also tried to reset Document & Data on icloud.  Could anyone help me on that?

    That's what I did... switching on iCloud calender in the panel leads to the following: The existing local Outlook calendar gets mved to an new iCloud calendar.Thus the local calendar is empty.
    Given that iTunes dows not allow my whife's phone to be synced with that iCloud calendar (only the local acalendar appears in the list of available calendars in iTunes; syncing all dioes not include the iCloud one) this leads to an empty alendar on my whife's phone.
    Hence the question how to
    a) get iTunes to include the iCloud calendar to sync with the iPhone 2g (preferred) or
    b) enable a local MS Outlook internal sync between the two calendars.  

  • How to create OEMS JMS In-Memory and File-Based Persistence?

    Anyone knows how to create OEMS JMS In-Memory and File-Based Persistence? Any help it is appreciated. I m working with Oracle BAM 11g TP4 and I want to test the capability of connecting directly to a JMS queue, and reading Oracle´s "complex" documentation I couldnt find the right way to make this happen.
    tks

    Hi Mario
    This is explained in the soa developer's guide. Chapter 43 "Enterprise message source"should help you. You will find how to connect OEMS or JMS in-memory/file based to your BAM data objects with or without xpath transformation.
    You can find sample of advanced XML formating in the 10g tech note: "Oracle BAM 10.1.3 configuration for BPEL 10.1.2 using JMS sensors" (useful even if you don't plan to use BPEL).
    Anyway, if you plan to use BPEL, forget JMS and use the BAM adapter (chapter 42), it's quicker & easier.
    Dominique

Maybe you are looking for

  • Is it time to upgrade to an imac

    Hi.. I currently work on Logic 9 and kontakt 8 library and some other au instruments.. All of this is connected to a 2009 MacBook with 2gb ram. My only question to the experts is whether a ram upgrade would let me work full fledgedly or is it time fo

  • "Airport Express" is not compatible with this version of itunes

    Hello- My itunes reports that my airport express is not compatible with this version of itunes.  My ipod and iphone no longer sync with the device either.  Any suggestions?  Thanks!

  • Creating sales order with BAPI_SALESORDER_CREATEFROMDAT2

    Hi, I´m creating sale orders with the function BAPI_SALESORDER_CREATEFROMDAT2. If you create sales order manually over the transaction, the system will find the right delivery date for you, if you are typing a date too early, for example. The same I

  • I don't know why in games kingdom conquest i can't buy cp

    i was buy cp from this game(kingdom conquest) it ok , but today when i buy this game cp tell me contact itunes support to complete this transaction. i think some things wrong? would you help me check what problm please <Edited By Host>

  • Firefox for Android long press not displaying popup menu.

    Often when I Iong press a link, the popup menu doesn't display. Not matter how long I hold the link or how many times I try, nothing happens. I'm on Android 4.0.3