Questions tagged [snapshot]

A snapshot is the state of something (e.g. a folder) at a specific point in time. In this case, snapshot means the current content of the test branch, this doesn't have to be the head revision

I'd like to extend the concept of snapshot. As you can see here the snapshot cares about running processes allocated in memory too.

1849 questions
10
votes
1 answer

snapshot.ref is not a function

I'm trying to update a field from a snapshot, but even though the snapshot is not null and printed correctly, I can't seem to use ref.update() on it. I tried to follow this answer. What am I missing here? My code: …
Mr. Phil
  • 1,099
  • 2
  • 14
  • 31
10
votes
2 answers

How to take snapshot of screen not only app in Android with code

I've developed app that takes screenshot. But it only takes snapshot of app. I want to take snapshot out of app. I've researched answers but I don't find answer yet. Here is my code. View view =…
Dima
  • 133
  • 1
  • 7
10
votes
1 answer

Prevent program from crashing when showing allocation stack traces

Question Why does VisualVM terminate my program when attempting to view object allocation stack trace, and how do I fix it? I'm cleaning up an application which has a few memory problems, the biggest being creating a bunch of short-lived int[]…
Vince
  • 14,470
  • 7
  • 39
  • 84
10
votes
2 answers

Publishing Gradle snapshots locally

Here is my dummy project's build.gradle file: apply plugin: 'groovy' repositories { mavenLocal() mavenCentral() } dependencies { compile 'org.codehaus.groovy:groovy-all:2.3.3' compile 'org.slf4j:jcl-over-slf4j:1.7.7' …
DirtyMikeAndTheBoys
  • 1,077
  • 3
  • 15
  • 29
10
votes
3 answers

Why is my nexus metadata.xml snapshot version incorrect?

This is my metadata. It's clearly incorrect, but I don't know why, so maven can't update download dependencies in my project. com.test test-sdk
gavioto
  • 1,695
  • 2
  • 17
  • 38
10
votes
1 answer

d3.js save states

I use D3.js to visualize a couple of datasets in an interactive and dynamic way. Users can explore all graphs and retrieve individual views on the data by loading combining additional data and views. I want users to be able to share their treasure…
Milla Well
  • 3,193
  • 3
  • 35
  • 50
10
votes
1 answer

Node.js/ v8: How to make my own snapshot to accelerate startup

I have a node.js (v0.6.12) application that starts by evaluating a Javascript file, startup.js. It takes a long time to evaluate startup.js, and I'd like to 'bake it in' to a custom build of Node if possible. The v8 source directory distributed with…
Anand Patil
  • 113
  • 1
  • 5
10
votes
1 answer

WinDbg and Virtualbox and machine snapshot - force kernel debug reconnect

So one of the nice features of virtualbox is to have snapshots that you can restore later on. However, when doing kernel debugging with virtualbox and windbg, a debugging session is not restored upon restoring the snapshot. Is there any way to force…
Qix - MONICA WAS MISTREATED
  • 14,451
  • 16
  • 82
  • 145
9
votes
1 answer

Optimal SNAPLEN for PCAP live capture

When using pcap_open_live to sniff from an interface, I have seen a lot of examples using various numbers as SNAPLEN value, ranging from BUFSIZ () to "magic numbers". Wouldn't it make more sense to set as SNAPLEN the MTU of the interface we…
ziu
  • 2,634
  • 2
  • 24
  • 39
9
votes
1 answer

What exactly does Vagrant snapshot save?

I use Vagrant on VirtualBox. Yesterday, I saved a snapshot of my project by running: $ vagrant snapshot save 'my-project-date-time' Today, I've made some changes to files and folders in my project that I want to revert. When I run: $ vagrant…
qwaz
  • 1,285
  • 4
  • 23
  • 47
9
votes
1 answer

ZFS: Rollback snapshot but keep newer snapshots

I have following ZFS Snapshots: data/server/dev1@snap1 data/server/dev1@snap2 data/server/dev1@snap3 If i want to rollback to snap1, i would do the following: zfs rollback data/server/dev1@snap1 but ZFS returns: more recent snapshots or bookmarks…
Vince
  • 1,133
  • 3
  • 17
  • 34
9
votes
4 answers

Wildfly in Eclipse is adding the Maven SNAPSHOT to the web context

I'm having a new problem when we moved to a Wildfly 8.x server in eclipse. My project is called PayloadSvc. The first part of the pom.xml looks like…
user3669653
  • 354
  • 1
  • 8
  • 15
9
votes
2 answers

Maven: Why is the -SNAPSHOT suffix missing from artifact file name?

My maven artifact is deployed to a Nexus snapshot repository. There, it is stored in the correct directory, but its filenames have the following pattern: mylibrary-1.0-20130213.125827-2.jar However, Maven fails to download that snapshot. According…
Jens Bannmann
  • 4,845
  • 5
  • 49
  • 76
8
votes
2 answers

Artifactory Snapshot filename handling

In our artifactory we have a snapshot repo defined to handle max 5 unique snapshots. We added -SNAPSHOT-.extension to the filename. SNAPSHOT gets also converted to timestamp. Build is done with gradle and artifact gets published with bamboo and…
chris.ingenhaag
  • 93
  • 1
  • 1
  • 6
8
votes
3 answers

unit / integration testing and restoring databases

Busy with automated test cases in C#, and we need to restore a DB snapshot after every test. Problem is, when running multiple tests it fails because the "Database state cannot be changed while other users are using the database." We use…
Peet Brits
  • 2,911
  • 1
  • 31
  • 47