Giter Site home page Giter Site logo

p6spy-mine's Introduction

Scroll down to see English version

Как непредвиденое взаимодействие валит приложение

Как положить приложение?

  1. Запустите FileCreator: это создаст файл, забитый случайными данными нужного объёма
  2. Запустите ReportRepositoryTest со следующими настройками ВМ: -Xmx1g -XX:+HeapDumpOnOutOfMemoryError
  3. Объяснение см. в статье на Хабре или попробуйте догадаться самостоятельно.

В качестве подсказки см. содержимое spy.log, который появится в корне проекта после запуска теста.

Чтобы исправить положение, откройте файл spy.properties и раскройте последнюю строку.


Unpredictable interaction crashing your app

How to crash the application?

  1. Run FileCreator: it creates a text file stuffed with random bytes
  2. Run ReportRepositoryTest with these VM options: -Xmx1g -XX:+HeapDumpOnOutOfMemoryError
  3. See explanation in my article or detect it yourself.

For a clue see the contents of spy.log which appears in project root when the test is run.

To fix this open spy.properties and uncomment the last line.

p6spy-mine's People

Contributors

sergiitsypanov avatar stsypanov avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.