Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for forceCollection (0.14 sec)

  1. pkg/ctrlz/topics/assets/templates/mem.html

                }
            }
    
            function onerror(e) {
                console.error(e);
            }
        }
    
        function forceCollection() {
            let url = window.location.protocol + "//" + window.location.host + "/memj/forcecollection";
    
            let ajax = new XMLHttpRequest();
            ajax.onload = onload;
            ajax.onerror = onerror;
            ajax.open("PUT", url, true);
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  2. pkg/ctrlz/topics/mem.go

    		ms := &runtime.MemStats{}
    		runtime.ReadMemStats(ms)
    		fw.RenderJSON(w, http.StatusOK, ms)
    	})
    
    	_ = context.JSONRouter().StrictSlash(true).NewRoute().Methods("PUT").Path("/forcecollection").HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
    		runtime.GC()
    		w.WriteHeader(http.StatusAccepted)
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top