Is it possible to run garbage collector in publisher instance with out opening a tunnel?

Hi,
In General we are running garbage collector in publisher by opening a tunnel.
is there any alternate way to do that.
we installed adobe cq5 on solaris10.
thanks,
vidhyadhar

Check out - http://dev.day.com/docs/en/crx/current/administering/persistence_managers.html#Automating Garbage Collection
Example of curl command that will start up garbage collection. You can create a sheel script with the curl command and set it up to run as cron job on the publish server which should solve your problem.

Similar Messages

  • How to run garbage collector???????

    I have to run garbage collector to enlarge totalmemory during runtime. I added code like System.gc( ), but it did nothing! the totalmemory stayed as before gc run.
    anybody has idea or suggestion?
    thanks a lot

    Are you sure that there are no lingering references to
    your objects. gc can only remove objects which have no
    references to them remaining.No, this is not how garbage collection works in Java. Garbage collection collects unreachable objects, not objects with no references to them.
    To understand the difference, look at this code:
    Vector v = new Vector();
    v.add(v);
    v = new Vector();The original Vector object is unreachable at the end of this code, and is available for garbage collection. This is despite the fact that there exists a reference to the Vector, which is inside the Vector itself.
    Some implementations of garbage collection, such as reference counting, really do collect only objects that have no references to them. Java's garbage collection is superior to these collectors: it collects all unreachable objects.

  • Is it possible to transfer music between iPhones and iPods with out using iTunes

    Is it possible to transfer music between iPhones and iPods with out using iTunes

    Nope.  Both require iTunes on a computer to sync music from.
    Unless the iPod is an iPod Touch and the music was bought from iTunes.  In which case the Touch can simply go to the iTunes App, under Purchased  and download the purchased songs for free.

  • Is it possible to restore a deleted photo on iPad with out backup?

    Is it possible to restore a deleted photo on iPad with out backup? My friend accidentally delete his photo on a iPad and he didn't make a backup before, can it be restore?
    I have google it, but found nothing and hope that someone here can help me.

    If you have enabled Photo Stream, you may have a copy there.

  • Possible Bug in Garbage Collector?

    Hello all
    I'm new to these forums but I searched for this problem and couldn't find exactly the same thing - apologies if I missed something.
    I've written an image browser which displays thumbnails, and when you click on a thumbnail it loads the image in a new window. This new window is just a JFrame, with a single JLabel, with an ImageIcon in it, representing the picture. The path name of the picture is passed when this JFrame is created, and the picture is loaded within the JFrame. Therefore, when I close the JFrame, I expect the memory associated with the image to disappear.
    This works. However, when I open a fairly large image (around 1500x1500 pixels), and then close the window, the garbage collector doesn't free the memory. After this, if i continue to open windows with smaller images, they too have the same problem. However, this doesn't happen with smaller images until I open a larger image.
    I think this is a problem with the garbage collector, is this familiar to anyone? Can anyone help? Unfortunately I can't really paste code since this is a university assignment. But you can try it - just load a jframe with a large picture, close it, and as long as the program runs the memory will not be deallocated.
    Any help would be massively appreciated.
    Thanks

    Since you're not willing to post your code it's very hard to comment.
    One question: Are you calling System.gc() after closing these frames? In fact you should probably call it 3 times to make sure the garbage collector takes you seriously. Try this and let us know if you're still showing the leak

  • Running garbage collector

    How do I run the garbage collector to free memory and delete unused objects?

    Maybe, I'm being stupid, but what has this got to do
    with the garbage collector?The problem is that though you can make the garbage collector run, you can't easily tell it how hard or long to search for collectable objects. The GC makes several passes. First pass is a simply check that will collect only the most obviously collectable objects. So you can tell the gc to run, and it will, but it may miss a lot of the harder objects to collect. (Especially objects whos references are gone, but their location on the stack is active because of another method.)
    So if we could tell the GC, run and don't come back till you get every last objects that is collectable, that would be an excellent thing!
    In my experience, the GC is over agressive and will definitly collect any collectable objects when you manually run the gc.

  • Logging Garbage collector for an OC4J with 2JVM

    Hi, I have one OC4J with two JVM setted.
    If I put -verbose:gc it logs in the std Output file.
    I trying to log the garbage collector in two different file each one for one JVM.
    Anyone as an idea?

    Don't create massive amounts garbage memory. It's that simple. You should try to limit the creation of memory inside your animation loop. If there is a process inside the loop that creates memory, there is definitely some way to create that item staticly, rather than allocating new memory with each iteration. There shouldn't be any kind of problem that would involve the creation of THIS much memory, and it's deallocation. If you read about how the garbage collector is implemented, you'll notice that it stores all of it's memory on a single conveyor belt. This is for ALL memory in the program. Therefor once the garbage collector has gone through and marked all of the memory that needs to be reclaimed, it performs it's sweep and must feeze the entire program because that conveyor belt can not be manipulated while it's re-arranging the memory. The garbage collector will eliminate MOST memory leaks, but it does not eliminate any thought on the part of the programmer about memory.
    -Jason Thomas.

  • Is it possible to front-end a SJSAS8.2 instance with Apache httpd

    I know glassfish can be run with Apache httpd by mod_jk.
    But how to make SJSAS8.2 run with Apache like glassfish.

    Yes it is possible.
    Locate the LLB:
    LV folder\vi.lib\daq\dqchnutl.llb
    There you find useful vis to handle virtual channel.
    The Get DAQ ChannelNames.vi return also the channel units

  • How to run the program in back ground with out selection screen ?

    Hi,
    I want to run the program in back ground but don't have selection screen. How to run this program in back ground
    as program has no selection screen.
    Waiting for quick response.
    Best Regards,
    Padhy
    Moderator message: basic, please search for available information/documentation.
    Edited by: Thomas Zloch on Feb 21, 2011 12:43 PM

    Hi,
    Go to transaction SE38 --> Execute --> Background.
    If your program contains selection screen, you have to pass your input values as variants.

  • Optimization of the JVM memory - Garbage Collector

    Hi ,
    Just a question about JVM memory management.
    There is memory limitation of memory usage limitation (1.6M) in JVM.
    Is there any possibility to use "Garbage collector" mechanism to optimize the memory usage?
    Or any suggestions for the JVM memory optimization?
    Thanks a lot!!!

    nicolasmichael wrote:
    Hi,
    the "memory limitation" does not have anything to do with garbage collection, but with the address space your operating system provides. On a 32bit operating system, your virtual address space is limited to <= 4 GB, depending on your operating system (for example 1.something GB on Windows and 3.something GB on Solaris). No.
    Windows 32 bit has a 2 GB application space and can be configured to allow a 3GB space.
    The Sun VM does not allow more because of the way that the executable is linked.
    [http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4358809]

  • Is it possible to run Add-On application seperately from Windows?

    Hi,
    Is anyone know if it is possible to run the Add-On from Windows with SAP B1 client ? For some reasons, i can't install the Add-On my server now during my development, but i need my QA tester to test these existing finished Add-Ons. Can I just pass all compiled binary files to my tester and let him run the Add-On from his PC and test it in his SAP B1 client? I tried, but it always gives me application crash error. But the add-on runs very well after installed in the the SAP B1 or under visual studio developping mode.
    Thanks,
    Lan

    Hello
    Yes it is possible. You can run the addon the same parameters as you run in the development environment. You can use the same connectionstring used during development.
    1. Copy you addon into a folder
    2. Create a bacth file (start.bat) with notepad, and enter there your addon name and the connectionstring
    3. Run the batch file.
    It will start and connect to sap b1.
    I am also using this method to test the addons .
    Regards
    J

  • Run two counters simultaneously with out affecting each other

    Hi
    I am new to labview. I am trying to figure out how the two counters/ timers( one is nongateable standard timer and another is standard timer which is software based) run simultaneously. I created it in different while loops. Is it possible to create two counters in single loop with out affecting each other?

    Hi Pavani,
    Welcome to the forums!  As a new LabVIEW user there are many helpful resources out there to get you started.  I would like to point you to the two links in my signature.  The first is a six hour LabVIEW course and the second helps you learn DAQmx.  Also take advantage of the shipping examples.  When you open LabVIEW select Find Examples to open the Example Finder.  Assuming you are using DAQmx, you can go to Hardware Input and Output>>DAQmx>>Counter Measurements and find many useful example programs that either do what you want or can be modified to perform the task you desire.
    To answer you question, two counters in the same loop do not affect each other.  The counters will gather data separately.  By putting them in the same loop, you just perform the reads in software at the same time.
    Regards,
    Ima
    Applications Engineer
    National Instruments
    LabVIEW Introduction Course - Six Hours
    Getting Started with NI-DAQmx

  • X-Fi Fatal1ty IS IT POSSIBLE TO BUY WITH OUT BEING BRANDE

    Is it Possible to get an X-Fi Fatalty? with out it being branded by (EDITED) Fatalty?
    Its not fair being stuck with an Sound Blaster X-Fi Platinum ( with out the 64 RAM )
    A Complete product Series Should not be Singled out just because of a bad gammer called Fatalty? with his branding :S
    Honeslty How does it look ... fragging the hell out of that (EDITED) ... when half your gear has been branded by him ...
    and the Sound Blaster X-Fi Elite Pro Does not have an 5 /4 Bay :S So that ruled out that Option for me
    Message Edited by MasterCATZ on -06-2005 05:2 PM

    MasterCATZ wrote:I guess I could mod the card ( but would that VIOD waranty )... but I have noticed a fairly HigherPrice TAG with every thing Branded by him ... would it be much cheaper if they did realease an unbranded version
    Well modding the card would definitly void warrenty plus whats the problem? Do you use a clear case or something where ppl can actually see all your cards? If not why worry bout the card appearence.Now customizing the I/O dri've faceplate I can understand if hate the guy so much. As for price being alot cheaper, probably no or just a bit cheaper, the higher price for the FPS is because of the 64 megs of "X-ram" so not sure how much his name even adds to card cost. I doubt CL is gonna tell us either hehe

  • Permissions Error if Script is run more than once with out closing Diadem

    I am in a REAL pickle here and need some HELP......
    I get a permissions error message when I try and run my scripts more than once with out closing Diadem 2011.
    Call scriptinclude ("D:\_Calterm_Configuration_Files\Technical_Information\DIAdem_Scripts\Importing Multiple Data Logs_CaltermIII_Local.VBS")
    Error is around this portion of script:
    '******* GetFilePaths() *** *** NEW Function ***
    Function GetFilePaths(DefaultDir, ExtFilter, MultipleDir, Msg)
    Dim i, k, f, fso, iMax, FileListPath, StartIdx, CurrFiles, FileList
    ' Promt the User to select the ASCII files to load with a File Dialog
    FileListPath = AutoActPath & "FileDlgList.asc"
    Set fso = CreateObject("Scripting.FileSystemObject")
    StartIdx = 0
    ReDim FileList(0)
    Do ' Until (DlgState = "IDCancel")
    Call FileNameGet("ANY", "FileRead", DefaultDir, ExtFilter, FileListPath, 1, Msg)
    IF (DlgState = "IDCancel") THEN Exit Do
    ' Read in the saved list of file(s) selected in the File Dialog into FileList()
    **** This next line is where the ERROR happens *******
    Set f = fso.OpenTextFile(FileListPath, 1, True) ' f.ReadAll returns file contents
    CurrFiles = Split(vbCRLF & f.ReadAll, vbCRLF) ' turn file lines into an array
    f.Close ' close the file
    iMax = UBound(CurrFiles)
    IF iMax > 0 AND Trim(CurrFiles(iMax)) = "" THEN
    iMax = iMax - 1
    ReDim Preserve CurrFiles(iMax)
    END IF
    Call BubbleSort(CurrFiles) ' sort the array of file names alphabetically
    ' Append current file dialog selection(s) to any previous file dialog selection(s)
    IF iMax < 1 THEN iMax = 0
    ReDim Preserve FileList(k + iMax)
    FOR i = 1 TO iMax
    k = k + 1
    FileList(k) = CurrFiles(i)
    NEXT ' i
    IF MultipleDir <> TRUE THEN Exit Do ' forces only 1 dialog, good if all desired files are in the same folder
    Loop ' Until (DlgState = "IDCancel")
    GetFilePaths = FileList
    End Function ' GetFilePaths()
    266 6:18:34 PM Error:
    Error in <NoName(1).VBS> (Line: 8, Column: 1):
    Error in <Importing Multiple Data Logs_CaltermIII_Local.VBS> (Line: 140, Column: 5):
    Permission denied
    I can send the script and file I am loading if that would help.
    Solved!
    Go to Solution.

    Jcheese,
    I understood that if you call this script within DIAdem you don't get any error, however, when you run that script from another source (with DIAdem opened) for the second time you get the error, right? 
    If this is the case, I think it might be that the file haven't close correctly in the script. Could you upload the script file?
    Carmen C.

  • Garbage Collector seems not to run

    Hi!
    I have a problem with the garbage collector:
    To free memory, I regularly run the garbage collector in my app ( System.gc() ) after releasing resources by setting the reference variable to "null". But after some time I get an "out of heap memory" error. It seems that the gc doesn't run - I get the following result on the stdout:
    0 garbage collections (0 bytes collected)
    Is this possible? Or can I fix this problem?
    Thanks for your help

    Is it that the GC was not kicking-in even when you delete the references to the objects? That is true for any GC. GC will kick in only when you need more memory to create new objects
    Also, you need to tune your young generation space and increase it from default 2MB to 32MB which will avoid frequent young generation GCs. By setting Xmx to 1024 MB, VM will try to grow till 1024 MB and if it can't allocate because
    of less physical memory on your system, it will throw OutOfMemory errors.
    I suggest you try the following:
    1. Configure young generation to 32MB and old generation to 512 MB. This is how
    you start your app
    java -XX:MaxNewSize=32m -XX:NewSize=16m -Xms64m -Xmx512m -verbose:gc <app>
    This sets the initial heap size to 64MB. You can increase this if your initial startup memory requirement (static memory) is higher that 64MB.
    With Xmx set to 512MB, if some sessions die or are closed and heap size grows to 512MB, Full GC should kick in and you should be able to release memory for new sessions. Running with -verbose:gc will show if Full GC gets kicked in or not.
    2. Try can calculate the static memory required at any point of time and also how much garbage is collected in certain time period. Then using these values we can make changes in young and old generation sizes.

Maybe you are looking for

  • Is it possible to restrict the ability to e-mail a pdf outside a specific domain name?

    Hello, I am trying to find a solution to a friends problem.  She has a quarterly publication that she sends out to big banks and financial institutions.  Recently she has had some problems with press leaks.  I am trying to find some security options

  • How do I view my backed up photos from icloud?

    I am trying to figure out how to view the photos that are backed up on iCloud.  My real issue is I don't have enough storage to back up my phone so I've been deleting things and saving my photos to my computer, but I'm still not able to back up iClou

  • CON2 Poor perfomance

    Hi Guys, I have a poor performance when execute the transaction CON2(Module CO), so i spent the run in background mode. And still having performance problems. How can i improve the performance of  this transaction ? My environment SAP: 4.7 SAPKH47027

  • On populate detail problem

    Dear members, (Forms 6i c/s) I have a master-details relation. When Forms fills the detail block with data, I'd like to fill a third block with data too, that means to change the query of this third block and execute it. To execute the query in the t

  • Iphoto '09 question

    I've tried to launch iPhoto '09 and it shows as open in the top menu bar, the light is under the icon on the dock, but the program doesn't open?