Question: I have crated a dialog activity which pops up when my application receives a message from the cloud, prompting the user to take an action (pressing yes/no). But if there are to notifications in the same time, the new dialog intent overlaps the first, and if the user selects either yes/no, a 3rd activity is started and the first dialog is lost.

Is there a way of checking if my dialog intent is already started? So I can get back to the first dialog before starting the 3rd activity which displays the full message?

Regards!

Answer: 
According to [the plugin github page](https://github.com/jmeter-maven-plugin/jmeter-maven-plugin/wiki/Configuring-the-jvm-that-the-jmeter-process-runs-in), you set the JVM options via the project configuration file, like this:

```
<plugin>
  <groupId>com.lazerycode.jmeter</groupId>
  <artifactId>jmeter-maven-plugin</artifactId>
  <version>1.9.1</version>
  <executions>
    <execution>
      <id>jmeter-tests</id>
      <phase>verify</phase>
      <goals>
        <goal>jmeter</goal>
      </goals>
      <configuration>
        <jMeterProcessJVMSettings>
          <xms>1024</xms>
          <xmx>1024</xmx>
          <arguments>
            <argument>-Xprof</argument>
            <argument>-Xfuture</argument>
          </arguments>
        </jMeterProcessJVMSettings>
      </configuration>
    </execution>
  </executions>
</plugin>

```
Typical reason for StackOverflowError is bad recursive call, increasing heap won't help. Do you use any scripting or looping in your test plan? If so, inspect it carefully to detect any nested calls or loops.