Skip to content

Instantly share code, notes, and snippets.

View lholmquist's full-sized avatar

Lucas Holmquist lholmquist

View GitHub Profile
~/develop/mcollina/borp (main*) » podman run -it --cpus=1 registry.access.redhat.com/ubi8/nodejs-20:latest /bin/bash
Trying to pull registry.access.redhat.com/ubi8/nodejs-20:latest...
Getting image source signatures
Checking if image destination supports signatures
Copying blob sha256:f2550f70fda076b77de27af53b6bbb475003e583653af071fd0875660b633aa2
Copying blob sha256:de727ee512b5d8fc29b2a94d855d09b084ae13d7182d7d5e411ac9aa43c9a131
Copying blob sha256:39049f27ef6e282921f20ccac04828f6a3b9e1f71fa10b16856718c30f5c058b
Copying config sha256:4082713d89f6ed0e6040c078ba41dfbbfee6da716f302f79f8566a16c0fa2a32
Writing manifest to image destination
Storing signatures
~/develop/just-playing/heap_snapshot_related/nodejs-mem (main*) » node --trace-gc --max-old-space-size=512 server.js
[57713:0x158008000] 20 ms: Scavenge 4.2 (4.3) -> 3.5 (5.3) MB, 0.29 / 0.00 ms (average mu = 1.000, current mu = 1.000) allocation failure;
[57713:0x158008000] 27 ms: Scavenge 4.4 (5.5) -> 3.9 (6.0) MB, 0.33 / 0.00 ms (average mu = 1.000, current mu = 1.000) allocation failure;
[57713:0x158008000] 34 ms: Scavenge 4.8 (6.0) -> 4.1 (6.3) MB, 0.21 / 0.00 ms (average mu = 1.000, current mu = 1.000) allocation failure;
[57713:0x158008000] 39 ms: Scavenge 5.3 (6.5) -> 4.7 (9.3) MB, 0.33 / 0.00 ms (average mu = 1.000, current mu = 1.000) allocation failure;
[57713:0x158008000] 54 ms: Scavenge 7.2 (9.5) -> 6.2 (10.2) MB, 0.33 / 0.00 ms (average mu = 1.000, current mu = 1.000) allocation failure;
[57713:0x158008000] 59 ms: Scavenge 7.6 (10.2) -> 6.8 (10.7) MB, 0.38 / 0.00 ms (average mu = 1.000, current mu = 1.000) allocation failure;
Run Node.js with '--expose-g
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Mocha Tests",
~/develop » docker version lucasholmquist@lincolnhawk2
Client:
Version: 18.06.0-ce
API version: 1.38
Go version: go1.10.3
Git commit: 0ffa825
Built: Wed Jul 18 19:11:45 2018
OS/Arch: linux/amd64
Experimental: false
~/develop/just-playing/rest-client-tests » minishift start lucasholmquist@lincolnhawk2
-- Starting profile 'test-3-eleven'
-- Check if deprecated options are used ... OK
-- Checking if https://github.com is reachable ... OK
-- Checking if requested OpenShift version 'v3.11.0' is valid ... OK
-- Checking if requested OpenShift version 'v3.11.0' is supported ... OK
-- Checking if requested hypervisor 'kvm' is supported on this platform ... OK
-- Checking if KVM driver is installed ...
Driver is available at /usr/local/bin/docker-machine-driver-kvm ...
Checking driver binary is executable ... OK
apiVersion: v1
kind: Template
metadata:
name: angular-web-app
annotations:
iconClass: icon-jboss
tags: nodejs, angular, web app
template.openshift.io/provider-display-name: "Red Hat, Inc."
description: Just building a little angular app with a web builder
parameters:
apiVersion: v1
kind: Template
metadata:
name: react-web-app
annotations:
iconClass: icon-jboss
tags: nodejs, react, web app
template.openshift.io/provider-display-name: "Red Hat, Inc."
description: Just building a little react app with a web builder
parameters:
repl._builtIns
[ 'assert',
'async_hooks',
'buffer',
'child_process',
'cluster',
'crypto',
'dgram',
'dns',
{
"apiVersion" : "v1",
"kind" : "List",
"items" : [ {
"apiVersion" : "v1",
"kind" : "Service",
"metadata" : {
"annotations" : {
"fabric8.io/git-commit" : "5418a547cd2967ba1400f69a063b70724b3eb8c8",
"fabric8.io/scm-con-url" : "scm:git:https://github.com/openshiftio/booster-parent.git/wfswarm-rest-http",
---
apiVersion: v1
kind: List
items:
- apiVersion: v1
kind: Service
metadata:
annotations:
fabric8.io/git-commit: 5418a547cd2967ba1400f69a063b70724b3eb8c8
fabric8.io/scm-con-url: scm:git:https://github.com/openshiftio/booster-parent.git/wfswarm-rest-http